Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.002081/0.002081, 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.002427/0.002427, allocations: 207.5 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.582/1.582, allocations: 230.5 MB / 257.4 MB, free: 7.766 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.2621/0.2621, allocations: 46.95 MB / 360.8 MB, free: 3.934 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.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002427/0.002427, allocations: 87.88 kB / 0.4967 GB, free: 6.988 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4304/0.4328, allocations: 66.09 MB / 0.5612 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.00375/0.4366, allocations: 1.702 MB / 0.5629 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.4386, allocations: 0.9809 MB / 0.5639 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.499e-05/0.4387, allocations: 0 / 0.5639 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000346/0.439, allocations: 39.77 kB / 0.5639 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003678/0.4394, allocations: 95.59 kB / 0.564 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.4396, allocations: 83.67 kB / 0.5641 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.4398, allocations: 107.7 kB / 0.5642 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.4399, allocations: 4 kB / 0.5642 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.272e-05/0.44, allocations: 47.77 kB / 0.5642 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.056e-05/0.4401, allocations: 35.73 kB / 0.5643 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.4401, allocations: 4 kB / 0.5643 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.4402, allocations: 39.98 kB / 0.5643 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.701e-05/0.4403, allocations: 27.91 kB / 0.5643 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.055e-05/0.4404, allocations: 27.8 kB / 0.5644 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.4406, allocations: 125.8 kB / 0.5645 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4406, allocations: 0 / 0.5645 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4406, allocations: 4 kB / 0.5645 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.4406, allocations: 0 / 0.5645 GB, free: 0.6133 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006534/0.4413, allocations: 353.5 kB / 0.5648 GB, free: 244 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.4413, allocations: 12.03 kB / 0.5648 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.439e-05/0.4414, allocations: 8.891 kB / 0.5648 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.4417, allocations: 162.3 kB / 0.565 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.4417, allocations: 4.359 kB / 0.565 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.4417, allocations: 4.375 kB / 0.565 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.4419, allocations: 62.03 kB / 0.5651 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.4419, allocations: 0 / 0.5651 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.442, allocations: 8 kB / 0.5651 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.442, allocations: 0 / 0.5651 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.992e-05/0.4421, allocations: 27.86 kB / 0.5651 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000441/0.4425, allocations: 232.6 kB / 0.5653 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.4427, allocations: 58.61 kB / 0.5654 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.304e-05/0.4428, allocations: 16.86 kB / 0.5654 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.4428, allocations: 3.938 kB / 0.5654 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.4429, allocations: 75.31 kB / 0.5655 GB, free: 15.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.4429, allocations: 4 kB / 0.5655 GB, free: 15.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006432/0.4436, allocations: 185.3 kB / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.4436, allocations: 51.41 kB / 0.5657 GB, free: 15.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.4439, allocations: 222.1 kB / 0.5659 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.4439, allocations: 29.7 kB / 0.5659 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.924e-05/0.444, allocations: 112.1 kB / 0.566 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.444, allocations: 23.84 kB / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.4441, allocations: 21.72 kB / 0.5661 GB, free: 14.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.4442, allocations: 326.8 kB / 0.5664 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.275e-05/0.4443, allocations: 23.98 kB / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.031e-05/0.4444, allocations: 38.08 kB / 0.5665 GB, free: 14.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.4445, allocations: 65.64 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.4445, allocations: 0 / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002107/0.4447, allocations: 117.6 kB / 0.5666 GB, free: 14.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.4447, allocations: 4 kB / 0.5666 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.4447, allocations: 4 kB / 0.5666 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.4448, allocations: 0 / 0.5666 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.178e-05/0.4449, allocations: 12 kB / 0.5666 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.4449, allocations: 8.016 kB / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.652e-05/0.4449, allocations: 4 kB / 0.5667 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.4449, allocations: 4 kB / 0.5667 GB, free: 14.19 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001283/0.445, allocations: 129.8 kB / 0.5668 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.4451, allocations: 15.91 kB / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.4454, allocations: 119 kB / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.4454, allocations: 0 / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.4454, allocations: 4 kB / 0.5669 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4454, allocations: 0 / 0.5669 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005079/0.4459, allocations: 354.9 kB / 0.5673 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4459, allocations: 288 / 0.5673 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.732e-05/0.4459, allocations: 19.94 kB / 0.5673 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.4459, allocations: 0 / 0.5673 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.4459, allocations: 3.938 kB / 0.5673 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/0.4459, allocations: 7.984 kB / 0.5673 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4459, allocations: 0 / 0.5673 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.4462, allocations: 216.2 kB / 0.5675 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.204e-05/0.4463, allocations: 7.953 kB / 0.5675 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.4463, allocations: 4 kB / 0.5675 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.148e-05/0.4464, allocations: 12.02 kB / 0.5675 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.4464, allocations: 3.938 kB / 0.5675 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.4464, allocations: 7.984 kB / 0.5675 GB, free: 13.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001598/0.4466, allocations: 159.2 kB / 0.5677 GB, free: 13.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4466, allocations: 3.938 kB / 0.5677 GB, free: 13.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.4469, allocations: 24 kB / 0.5677 GB, free: 13.04 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001937/0.4488, allocations: 492.4 kB / 0.5682 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.449, allocations: 63.89 kB / 0.5682 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.449, allocations: 0 / 0.5682 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.352e-05/0.4491, allocations: 35.92 kB / 0.5683 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.4495, allocations: 28.28 kB / 0.5683 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005536/0.45, allocations: 251 kB / 0.5685 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.4501, allocations: 96.67 kB / 0.5686 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.489e-05/0.4502, allocations: 12.97 kB / 0.5686 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.947e-05/0.4502, allocations: 19.44 kB / 0.5687 GB, free: 12.18 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4502, allocations: 0 / 0.5687 GB, free: 12.18 MB / 414.1 MB Notification: Performance of Templates: time 0.006166/0.4564, allocations: 1.919 MB / 0.5705 GB, free: 10.28 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.555522495880723]