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.001534/0.001534, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.00193/0.00193, allocations: 202.2 kB / 23.72 MB, free: 4.391 MB / 14.72 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.501/1.501, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.2555/0.2555, allocations: 46.94 MB / 360.8 MB, free: 3.941 MB / 286.1 MB " [Timeout remaining time 179] 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.1.|mux5.y.2.|mux5.y.3.|mux5.y.4.|mux5.y.5.|demux5.y.1.|demux5.y.2.|demux5.y.3.|demux5.y.4.|demux5.y.5.|mux3.y.1.|mux3.y.2.|mux3.y.3.|mux2.y.1.|mux2.y.2.|demux2.y.1.|demux2.y.2.|demux3.y.1.|demux3.y.2.|demux3.y.3.",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.1.|mux5.y.2.|mux5.y.3.|mux5.y.4.|mux5.y.5.|demux5.y.1.|demux5.y.2.|demux5.y.3.|demux5.y.4.|demux5.y.5.|mux3.y.1.|mux3.y.2.|mux3.y.3.|mux2.y.1.|mux2.y.2.|demux2.y.1.|demux2.y.2.|demux3.y.1.|demux3.y.2.|demux3.y.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002633/0.002633, allocations: 75.88 kB / 0.4966 GB, free: 7.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4667/0.4694, allocations: 66.09 MB / 0.5612 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.003198/0.4726, allocations: 1.531 MB / 0.5627 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002595/0.4728, allocations: 59.78 kB / 0.5627 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.305e-05/0.4729, allocations: 11.88 kB / 0.5627 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.473, allocations: 15.84 kB / 0.5628 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.304e-05/0.473, allocations: 7.922 kB / 0.5628 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000153/0.4732, allocations: 35.91 kB / 0.5628 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.4733, allocations: 59.89 kB / 0.5628 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002584/0.4736, allocations: 88.92 kB / 0.5629 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.236e-05/0.4736, allocations: 39.84 kB / 0.563 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.4738, allocations: 39.83 kB / 0.563 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.4738, allocations: 8 kB / 0.563 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.923e-05/0.4738, allocations: 8 kB / 0.563 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.528e-05/0.4739, allocations: 71.81 kB / 0.5631 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.696e-05/0.474, allocations: 51.73 kB / 0.5631 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.4742, allocations: 153.7 kB / 0.5633 GB, free: 1.801 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4742, allocations: 7.938 kB / 0.5633 GB, free: 1.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4742, allocations: 0 / 0.5633 GB, free: 1.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.4742, allocations: 0 / 0.5633 GB, free: 1.793 MB / 398.1 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.0005308/0.4747, allocations: 366.2 kB / 0.5636 GB, free: 1.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.4747, allocations: 8.031 kB / 0.5637 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.837e-05/0.4748, allocations: 16.84 kB / 0.5637 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.4751, allocations: 158.3 kB / 0.5638 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.4751, allocations: 16.75 kB / 0.5638 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/0.4751, allocations: 16.38 kB / 0.5639 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000367/0.4755, allocations: 197.1 kB / 0.564 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.4755, allocations: 3.938 kB / 0.564 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.4755, allocations: 8 kB / 0.5641 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.4755, allocations: 7.938 kB / 0.5641 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002441/0.4758, allocations: 123.3 kB / 0.5642 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006415/0.4764, allocations: 400.9 kB / 0.5646 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.4765, allocations: 38.56 kB / 0.5646 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.648e-05/0.4766, allocations: 28.97 kB / 0.5646 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.4766, allocations: 0 / 0.5646 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.4766, allocations: 38.5 kB / 0.5647 GB, free: 296 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 7.51e-07/0.4766, allocations: 0 / 0.5647 GB, free: 296 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002606/0.4769, allocations: 81.56 kB / 0.5647 GB, free: 208 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.4769, allocations: 51.41 kB / 0.5648 GB, free: 144 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.4771, allocations: 117.8 kB / 0.5649 GB, free: 16 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.4771, allocations: 25.7 kB / 0.5649 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.4772, allocations: 136.1 kB / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.4772, allocations: 19.86 kB / 0.5651 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.4773, allocations: 17.7 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.4774, allocations: 314.8 kB / 0.5654 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.328e-05/0.4775, allocations: 11.98 kB / 0.5654 GB, free: 15.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.2e-05/0.4775, allocations: 12 kB / 0.5654 GB, free: 15.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.669e-05/0.4776, allocations: 32.84 kB / 0.5654 GB, free: 15.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4776, allocations: 4 kB / 0.5654 GB, free: 15.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001259/0.4778, allocations: 69.55 kB / 0.5655 GB, free: 15.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.4778, allocations: 8 kB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.4778, allocations: 0 / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.4778, allocations: 0 / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.371e-05/0.4779, allocations: 11.98 kB / 0.5655 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.4779, allocations: 0 / 0.5655 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.378e-05/0.4779, allocations: 0 / 0.5655 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.4779, allocations: 4 kB / 0.5655 GB, free: 15.32 MB / 414.1 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 0.0002141/0.4781, allocations: 137.8 kB / 0.5657 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.4782, allocations: 15.88 kB / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.21e-05/0.4782, allocations: 8.062 kB / 0.5657 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.4782, allocations: 0 / 0.5657 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.954e-06/0.4782, allocations: 3.984 kB / 0.5657 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.4782, allocations: 8.375 kB / 0.5657 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004361/0.4786, allocations: 294.1 kB / 0.566 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4786, allocations: 0 / 0.566 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-05/0.4787, allocations: 8 kB / 0.566 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.4787, allocations: 7.984 kB / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.4787, allocations: 4 kB / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4787, allocations: 0 / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4787, allocations: 0 / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.4789, allocations: 167.4 kB / 0.5662 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.202e-05/0.4789, allocations: 7.984 kB / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.4789, allocations: 0 / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.021e-05/0.479, allocations: 3.938 kB / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.479, allocations: 8 kB / 0.5662 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.479, allocations: 0 / 0.5662 GB, free: 14.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.627e-05/0.4791, allocations: 87.27 kB / 0.5663 GB, free: 14.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4791, allocations: 4 kB / 0.5663 GB, free: 14.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002266/0.4793, allocations: 27.84 kB / 0.5663 GB, free: 14.48 MB / 414.1 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.0001028/0.4794, allocations: 87.25 kB / 0.5664 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001579/0.4796, allocations: 35.91 kB / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.4796, allocations: 0 / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.881e-05/0.4796, allocations: 16 kB / 0.5664 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.4799, allocations: 21.95 kB / 0.5664 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006142/0.4805, allocations: 267.8 kB / 0.5667 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.4807, allocations: 110.1 kB / 0.5668 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.711e-05/0.4807, allocations: 11.77 kB / 0.5668 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.4808, allocations: 11.44 kB / 0.5668 GB, free: 13.88 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4808, allocations: 0 / 0.5668 GB, free: 13.88 MB / 414.1 MB Notification: Performance of Templates: time 0.003554/0.4843, allocations: 0.7321 MB / 0.5675 GB, free: 13.16 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.461396412923932]