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.001423/0.001423, allocations: 106.9 kB / 19.8 MB, free: 2.5 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.001363/0.001363, allocations: 219.6 kB / 23 MB, free: 5.578 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.504/1.504, allocations: 230.2 MB / 256.2 MB, free: 8.547 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.2727/0.2727, allocations: 46.9 MB / 359.4 MB, free: 4.867 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.002301/0.002301, allocations: 79.88 kB / 0.4946 GB, free: 8.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4409/0.4432, allocations: 65.99 MB / 0.5591 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.003474/0.4466, allocations: 1.581 MB / 0.5606 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003184/0.4469, allocations: 55.78 kB / 0.5607 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.691e-05/0.447, allocations: 7.938 kB / 0.5607 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.4472, allocations: 15.84 kB / 0.5607 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.674e-05/0.4472, allocations: 11.92 kB / 0.5607 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.4474, allocations: 23.97 kB / 0.5607 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.4476, allocations: 67.83 kB / 0.5608 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003423/0.448, allocations: 87.39 kB / 0.5609 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.148e-05/0.448, allocations: 47.83 kB / 0.5609 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.4481, allocations: 43.84 kB / 0.561 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.277e-05/0.4482, allocations: 8 kB / 0.561 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.235e-05/0.4482, allocations: 8 kB / 0.561 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.4483, allocations: 67.81 kB / 0.561 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.726e-05/0.4484, allocations: 63.61 kB / 0.5611 GB, free: 2.945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002732/0.4487, allocations: 157.7 kB / 0.5613 GB, free: 2.797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.4487, allocations: 0 / 0.5613 GB, free: 2.797 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.038e-06/0.4487, allocations: 0 / 0.5613 GB, free: 2.797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.4487, allocations: 0 / 0.5613 GB, free: 2.797 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.0008527/0.4495, allocations: 453.9 kB / 0.5617 GB, free: 2.309 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.4496, allocations: 8.031 kB / 0.5617 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.823e-05/0.4497, allocations: 20.83 kB / 0.5617 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/0.45, allocations: 216.1 kB / 0.5619 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.45, allocations: 12.75 kB / 0.5619 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/0.4501, allocations: 20.38 kB / 0.562 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004551/0.4505, allocations: 197.6 kB / 0.5621 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.4505, allocations: 3.938 kB / 0.5621 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.4506, allocations: 4 kB / 0.5621 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.4506, allocations: 12 kB / 0.5622 GB, free: 1.781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003352/0.4509, allocations: 131.2 kB / 0.5623 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000823/0.4517, allocations: 492 kB / 0.5628 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.4518, allocations: 42.5 kB / 0.5628 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.182e-05/0.4519, allocations: 32.91 kB / 0.5628 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.4519, allocations: 0 / 0.5628 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.452, allocations: 30.56 kB / 0.5629 GB, free: 1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.71e-07/0.452, allocations: 0 / 0.5629 GB, free: 1 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003021/0.4523, allocations: 77.62 kB / 0.5629 GB, free: 0.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.4523, allocations: 55.34 kB / 0.563 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.4524, allocations: 113.8 kB / 0.5631 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.4525, allocations: 25.7 kB / 0.5631 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.856e-05/0.4526, allocations: 140.1 kB / 0.5632 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.4526, allocations: 23.84 kB / 0.5633 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.4526, allocations: 17.72 kB / 0.5633 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000268/0.4529, allocations: 310.8 kB / 0.5636 GB, free: 200 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.725e-05/0.4529, allocations: 15.98 kB / 0.5636 GB, free: 184 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.594e-05/0.453, allocations: 15.98 kB / 0.5636 GB, free: 168 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.007e-05/0.4531, allocations: 32.84 kB / 0.5636 GB, free: 132 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4531, allocations: 0 / 0.5636 GB, free: 132 kB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001199/0.4532, allocations: 61.62 kB / 0.5637 GB, free: 64 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.4532, allocations: 11.94 kB / 0.5637 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4532, allocations: 0 / 0.5637 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.4532, allocations: 0 / 0.5637 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.025e-05/0.4533, allocations: 11.98 kB / 0.5637 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.4533, allocations: 0 / 0.5637 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.413e-05/0.4533, allocations: 4.438 kB / 0.5637 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.4534, allocations: 4 kB / 0.5637 GB, free: 32 kB / 398.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.0001816/0.4535, allocations: 133.8 kB / 0.5639 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.4536, allocations: 11.89 kB / 0.5639 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.4536, allocations: 7.969 kB / 0.5639 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4536, allocations: 0 / 0.5639 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.4536, allocations: 4 kB / 0.5639 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.4536, allocations: 3.938 kB / 0.5639 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004341/0.454, allocations: 378.4 kB / 0.5642 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.454, allocations: 0 / 0.5642 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.048e-05/0.4541, allocations: 8 kB / 0.5643 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4541, allocations: 0 / 0.5643 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.4541, allocations: 0 / 0.5643 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4541, allocations: 0 / 0.5643 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4541, allocations: 0 / 0.5643 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.4543, allocations: 179.3 kB / 0.5644 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.094e-05/0.4543, allocations: 81.11 kB / 0.5645 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.4544, allocations: 0 / 0.5645 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.245e-05/0.4544, allocations: 3.984 kB / 0.5645 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/0.4544, allocations: 4 kB / 0.5645 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.4544, allocations: 0 / 0.5645 GB, free: 15.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.86e-05/0.4545, allocations: 91.27 kB / 0.5646 GB, free: 15.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4545, allocations: 3.938 kB / 0.5646 GB, free: 15.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002256/0.4547, allocations: 23.84 kB / 0.5646 GB, free: 15.02 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.0001495/0.4549, allocations: 99.25 kB / 0.5647 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001629/0.455, allocations: 31.92 kB / 0.5648 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.455, allocations: 0 / 0.5648 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.479e-05/0.4551, allocations: 19.92 kB / 0.5648 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.4554, allocations: 17.52 kB / 0.5648 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007693/0.4562, allocations: 263.3 kB / 0.565 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006282/0.4568, allocations: 0.7353 MB / 0.5658 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.469e-05/0.4569, allocations: 7.781 kB / 0.5658 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.915e-05/0.4569, allocations: 11.44 kB / 0.5658 GB, free: 13.79 MB / 414.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4569, allocations: 0 / 0.5658 GB, free: 13.79 MB / 414.1 MB Notification: Performance of Templates: time 0.004373/0.4613, allocations: 0.6416 MB / 0.5664 GB, free: 13.15 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.0.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.3144563445821404]