Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 211.7 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.683/1.683, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2746/0.2746, allocations: 46.93 MB / 360.8 MB, free: 4.234 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 71.89 kB / 0.4967 GB, free: 7.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.4415, allocations: 66.03 MB / 0.5612 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003733/0.4452, allocations: 1.749 MB / 0.5629 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.4472, allocations: 1.045 MB / 0.5639 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.082e-05/0.4472, allocations: 3.938 kB / 0.5639 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003015/0.4475, allocations: 43.77 kB / 0.564 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003362/0.4479, allocations: 99.53 kB / 0.5641 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.4481, allocations: 83.66 kB / 0.5641 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.4483, allocations: 103.8 kB / 0.5642 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.4484, allocations: 4 kB / 0.5642 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.4485, allocations: 55.66 kB / 0.5643 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.4486, allocations: 35.78 kB / 0.5643 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.4486, allocations: 4 kB / 0.5643 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.4487, allocations: 39.98 kB / 0.5644 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.316e-05/0.4488, allocations: 23.91 kB / 0.5644 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.911e-05/0.4489, allocations: 31.75 kB / 0.5644 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.4491, allocations: 125.9 kB / 0.5645 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.4491, allocations: 0 / 0.5645 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4491, allocations: 3.938 kB / 0.5645 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.4491, allocations: 4 kB / 0.5646 GB, free: 0.9219 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.0006397/0.4498, allocations: 349.5 kB / 0.5649 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.4498, allocations: 8.031 kB / 0.5649 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.4499, allocations: 8.891 kB / 0.5649 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.4502, allocations: 155 kB / 0.565 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.4502, allocations: 8.375 kB / 0.5651 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.4502, allocations: 4.125 kB / 0.5651 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.4504, allocations: 57.67 kB / 0.5651 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.4504, allocations: 0 / 0.5651 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.4504, allocations: 0 / 0.5651 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4504, allocations: 4 kB / 0.5651 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.838e-05/0.4505, allocations: 19.92 kB / 0.5651 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.4509, allocations: 260.1 kB / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.4511, allocations: 58.67 kB / 0.5654 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.22e-05/0.4511, allocations: 16.86 kB / 0.5655 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.4512, allocations: 4 kB / 0.5655 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.4513, allocations: 67.33 kB / 0.5655 GB, free: 15.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.4513, allocations: 0 / 0.5655 GB, free: 15.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005959/0.4519, allocations: 173.3 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.452, allocations: 59.41 kB / 0.5657 GB, free: 15.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.4522, allocations: 198.2 kB / 0.5659 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.4522, allocations: 25.7 kB / 0.566 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.874e-05/0.4523, allocations: 108.1 kB / 0.5661 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.319e-05/0.4524, allocations: 31.77 kB / 0.5661 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.597e-05/0.4524, allocations: 21.72 kB / 0.5661 GB, free: 15.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.4526, allocations: 326.8 kB / 0.5664 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.412e-05/0.4526, allocations: 23.98 kB / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.895e-05/0.4527, allocations: 41.64 kB / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.4528, allocations: 57.66 kB / 0.5665 GB, free: 14.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.4528, allocations: 0 / 0.5665 GB, free: 14.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000197/0.453, allocations: 105.5 kB / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.453, allocations: 8 kB / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.4531, allocations: 0 / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.4531, allocations: 8.391 kB / 0.5667 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.519e-05/0.4532, allocations: 15.98 kB / 0.5667 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.4532, allocations: 4 kB / 0.5667 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.494e-05/0.4532, allocations: 4 kB / 0.5667 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.4532, allocations: 7.938 kB / 0.5667 GB, free: 14.53 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.0001236/0.4534, allocations: 128.4 kB / 0.5668 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.4534, allocations: 15.91 kB / 0.5668 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002549/0.4536, allocations: 123.1 kB / 0.5669 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.4536, allocations: 4 kB / 0.567 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4536, allocations: 0 / 0.567 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.4536, allocations: 0 / 0.567 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004573/0.4541, allocations: 362.4 kB / 0.5673 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4541, allocations: 0 / 0.5673 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.359e-05/0.4541, allocations: 8 kB / 0.5673 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4541, allocations: 0 / 0.5673 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.4542, allocations: 11.92 kB / 0.5673 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4542, allocations: 0 / 0.5673 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4542, allocations: 4.031 kB / 0.5673 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.4544, allocations: 208.2 kB / 0.5675 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.63e-05/0.4544, allocations: 7.953 kB / 0.5675 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.4545, allocations: 11.88 kB / 0.5675 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.931e-05/0.4545, allocations: 0 / 0.5675 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.4546, allocations: 11.98 kB / 0.5675 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.4546, allocations: 8 kB / 0.5676 GB, free: 13.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001496/0.4547, allocations: 152.2 kB / 0.5677 GB, free: 13.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4547, allocations: 0 / 0.5677 GB, free: 13.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.455, allocations: 27.92 kB / 0.5677 GB, free: 13.37 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 (8): * Single equations (assignments): 6 * 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.001836/0.4568, allocations: 460.5 kB / 0.5682 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002236/0.4571, allocations: 51.92 kB / 0.5682 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4571, allocations: 0 / 0.5682 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.123e-05/0.4571, allocations: 31.92 kB / 0.5682 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.4575, allocations: 31.78 kB / 0.5683 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005591/0.4581, allocations: 234.8 kB / 0.5685 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.4585, allocations: 0.7041 MB / 0.5692 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.658e-05/0.4586, allocations: 25.2 kB / 0.5692 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/0.4586, allocations: 15.44 kB / 0.5692 GB, free: 11.96 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4586, allocations: 0 / 0.5692 GB, free: 11.96 MB / 414.1 MB Notification: Performance of Templates: time 0.005804/0.4644, allocations: 1.774 MB / 0.571 GB, free: 10.2 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.814257740043104]