Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001622/0.001622, allocations: 87.67 kB / 21.19 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001846/0.001846, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.029/1.029, allocations: 177 MB / 204.8 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3007/0.3007, allocations: 34.86 MB / 296.3 MB, free: 0.5352 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.MuxDemux,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|y1|y2|y3|y4|y5|clock.y|mux5.y.[0-9,]+.|demux5.y.[0-9,]+.|mux3.y.[0-9,]+.|mux2.y.[0-9,]+.|demux2.y.[0-9,]+.|demux3.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux") translateModel(ModelicaTest.Blocks.MuxDemux,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|y1|y2|y3|y4|y5|clock.y|mux5.y.[0-9,]+.|demux5.y.[0-9,]+.|mux3.y.[0-9,]+.|mux2.y.[0-9,]+.|demux2.y.[0-9,]+.|demux3.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 378.8 MB, free: 2.109 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.124e-05/3.323e-05, allocations: 7.016 kB / 378.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.003635/0.003668, allocations: 1.584 MB / 380.3 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003832/0.004052, allocations: 59.75 kB / 380.4 MB, free: 456 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.723e-05/0.004129, allocations: 4 kB / 380.4 MB, free: 452 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.004291, allocations: 23.84 kB / 380.4 MB, free: 428 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.033e-05/0.004321, allocations: 3.938 kB / 380.4 MB, free: 424 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.004526, allocations: 23.97 kB / 380.5 MB, free: 400 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.004643, allocations: 67.81 kB / 380.5 MB, free: 332 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002784/0.004922, allocations: 87.5 kB / 380.6 MB, free: 236 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.878e-05/0.00501, allocations: 51.94 kB / 380.7 MB, free: 184 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.851e-05/0.005089, allocations: 35.88 kB / 380.7 MB, free: 148 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.124e-05/0.00512, allocations: 12 kB / 380.7 MB, free: 136 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.075e-05/0.005141, allocations: 12 kB / 380.7 MB, free: 124 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.654e-05/0.005237, allocations: 67.81 kB / 380.8 MB, free: 56 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.601e-05/0.005303, allocations: 39.91 kB / 380.8 MB, free: 16 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.00554, allocations: 115.5 kB / 380.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.005544, allocations: 0 / 380.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.005545, allocations: 3.938 kB / 380.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.005551, allocations: 0 / 380.9 MB, free: 15.9 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005868/0.006138, allocations: 460.5 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.006193, allocations: 8.031 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.14e-05/0.006274, allocations: 48.78 kB / 381.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.006516, allocations: 148.4 kB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.006537, allocations: 12.75 kB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.006571, allocations: 20.38 kB / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003414/0.006913, allocations: 133.9 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.006927, allocations: 192 / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.006947, allocations: 8.375 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.00696, allocations: 12.12 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.00709, allocations: 62.95 kB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006486/0.007738, allocations: 456.3 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.159e-05/0.00782, allocations: 39 kB / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.529e-05/0.007865, allocations: 27.78 kB / 382.3 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.007885, allocations: 4 kB / 382.3 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.007914, allocations: 37.39 kB / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.007915, allocations: 0 / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002053/0.008121, allocations: 65.58 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.008159, allocations: 55.34 kB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.008266, allocations: 169.9 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.008284, allocations: 29.7 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.926e-05/0.008373, allocations: 182.9 kB / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.0084, allocations: 19.83 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.008442, allocations: 23.38 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.008597, allocations: 496.1 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.224e-05/0.008619, allocations: 7.984 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.739e-05/0.008637, allocations: 8 kB / 383.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.61e-05/0.008683, allocations: 19.69 kB / 383.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.008685, allocations: 0 / 383.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.921e-05/0.008785, allocations: 57.58 kB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.008805, allocations: 12 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.008811, allocations: 0 / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.008831, allocations: 3.938 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.008941, allocations: 8 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.008947, allocations: 0 / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.508e-05/0.008972, allocations: 7.984 kB / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.008981, allocations: 4 kB / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.027e-05/0.009071, allocations: 152.6 kB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.0091, allocations: 7.953 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.17e-05/0.009132, allocations: 8.125 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.009136, allocations: 7.938 kB / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.00914, allocations: 4 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.009143, allocations: 0 / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003457/0.009489, allocations: 345.8 kB / 384 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.009494, allocations: 8.047 kB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.713e-05/0.009551, allocations: 8 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.009556, allocations: 3.938 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.009566, allocations: 4 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.009567, allocations: 0 / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.009569, allocations: 0 / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.009724, allocations: 203.8 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.416e-06/0.009732, allocations: 8 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.009746, allocations: 3.938 kB / 384.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.976e-05/0.009806, allocations: 7.984 kB / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/0.009822, allocations: 0 / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.009826, allocations: 0 / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.139e-05/0.009887, allocations: 135.2 kB / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.009887, allocations: 0 / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002689/0.01016, allocations: 27.78 kB / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001089/0.01026, allocations: 95.25 kB / 384.5 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001277/0.01039, allocations: 31.61 kB / 384.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.01039, allocations: 0 / 384.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.48e-05/0.01042, allocations: 19.69 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.01071, allocations: 18.52 kB / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005497/0.01126, allocations: 263.6 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.917e-05/0.01134, allocations: 83.31 kB / 384.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.795e-05/0.01137, allocations: 4 kB / 384.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.109e-05/0.0114, allocations: 12.5 kB / 385 MB, free: 11.53 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01141, allocations: 0 / 385 MB, free: 11.53 MB / 362.7 MB Notification: Performance of Templates: time 0.003651/0.01506, allocations: 0.6713 MB / 385.6 MB, free: 10.88 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.292073299176991]