Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.001575/0.001575, allocations: 115.8 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.002202/0.002202, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.695/1.695, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.2847/0.2847, allocations: 46.94 MB / 360.9 MB, free: 4.289 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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 71.89 kB / 0.4967 GB, free: 7.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4468/0.4491, allocations: 66.03 MB / 0.5612 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.00436/0.4534, allocations: 1.767 MB / 0.5629 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.4557, allocations: 1.049 MB / 0.5639 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.4558, allocations: 3.938 kB / 0.564 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004504/0.4562, allocations: 95.69 kB / 0.564 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004648/0.4567, allocations: 123.5 kB / 0.5642 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.457, allocations: 71.75 kB / 0.5642 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.4573, allocations: 127.6 kB / 0.5644 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.4574, allocations: 19.97 kB / 0.5644 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.4576, allocations: 55.77 kB / 0.5644 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.4577, allocations: 67.8 kB / 0.5645 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.4577, allocations: 11.94 kB / 0.5645 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.4579, allocations: 63.97 kB / 0.5646 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.211e-05/0.458, allocations: 27.86 kB / 0.5646 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.918e-05/0.458, allocations: 47.61 kB / 0.5646 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.4583, allocations: 141.8 kB / 0.5648 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4583, allocations: 0 / 0.5648 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4583, allocations: 0 / 0.5648 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.4583, allocations: 0 / 0.5648 GB, free: 0.7383 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006516/0.459, allocations: 377.3 kB / 0.5651 GB, free: 348 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.459, allocations: 8.031 kB / 0.5651 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.516e-05/0.4591, allocations: 16.84 kB / 0.5652 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003912/0.4595, allocations: 163 kB / 0.5653 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.4595, allocations: 8.375 kB / 0.5653 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.4595, allocations: 8.109 kB / 0.5653 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.4597, allocations: 57.67 kB / 0.5654 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.4597, allocations: 0 / 0.5654 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.4597, allocations: 3.938 kB / 0.5654 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.4597, allocations: 4 kB / 0.5654 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.888e-05/0.4598, allocations: 23.98 kB / 0.5654 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004862/0.4603, allocations: 283.8 kB / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/0.4606, allocations: 54.55 kB / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.423e-05/0.4606, allocations: 20.97 kB / 0.5658 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.4607, allocations: 4 kB / 0.5658 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.4608, allocations: 79.31 kB / 0.5658 GB, free: 15.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.4608, allocations: 0 / 0.5658 GB, free: 15.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008112/0.4616, allocations: 241.3 kB / 0.5661 GB, free: 15.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/0.4617, allocations: 55.34 kB / 0.5661 GB, free: 15.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.462, allocations: 242.9 kB / 0.5663 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.462, allocations: 25.7 kB / 0.5664 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.4621, allocations: 116.1 kB / 0.5665 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.214e-05/0.4622, allocations: 35.73 kB / 0.5665 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.148e-05/0.4622, allocations: 25.72 kB / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.4624, allocations: 326.8 kB / 0.5669 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.768e-05/0.4625, allocations: 27.98 kB / 0.5669 GB, free: 14.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.01e-05/0.4626, allocations: 45.7 kB / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.4627, allocations: 85.62 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4627, allocations: 4 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002373/0.463, allocations: 129.5 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.463, allocations: 4 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.463, allocations: 0 / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.463, allocations: 0 / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.709e-05/0.4631, allocations: 27.98 kB / 0.5672 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.4631, allocations: 3.938 kB / 0.5672 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.014e-05/0.4631, allocations: 4 kB / 0.5672 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.4632, allocations: 0 / 0.5672 GB, free: 14.07 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 (13): * Single equations (assignments): 13 * 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.0001406/0.4633, allocations: 141.8 kB / 0.5673 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.4633, allocations: 11.91 kB / 0.5673 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003324/0.4637, allocations: 159.6 kB / 0.5675 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.4637, allocations: 0 / 0.5675 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.4637, allocations: 3.938 kB / 0.5675 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.4637, allocations: 0 / 0.5675 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008167/0.4645, allocations: 435.1 kB / 0.5679 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4645, allocations: 0 / 0.5679 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.436e-05/0.4645, allocations: 12 kB / 0.5679 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.4645, allocations: 4 kB / 0.5679 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.4646, allocations: 4 kB / 0.5679 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/0.4646, allocations: 7.984 kB / 0.5679 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.4646, allocations: 0 / 0.5679 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.4649, allocations: 237 kB / 0.5681 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.256e-05/0.4649, allocations: 11.91 kB / 0.5681 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.4649, allocations: 8 kB / 0.5682 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.638e-05/0.465, allocations: 7.984 kB / 0.5682 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.4651, allocations: 7.984 kB / 0.5682 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.4651, allocations: 4 kB / 0.5682 GB, free: 12.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001696/0.4652, allocations: 175.2 kB / 0.5683 GB, free: 12.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4652, allocations: 4 kB / 0.5683 GB, free: 12.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00029/0.4655, allocations: 27.94 kB / 0.5684 GB, free: 12.74 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.00225/0.4678, allocations: 0.5215 MB / 0.5689 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002424/0.468, allocations: 63.92 kB / 0.5689 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.468, allocations: 0 / 0.5689 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.096e-05/0.4681, allocations: 39.92 kB / 0.569 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.4685, allocations: 45.31 kB / 0.569 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006792/0.4692, allocations: 284.6 kB / 0.5693 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006145/0.4698, allocations: 0.7196 MB / 0.57 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.403e-05/0.4699, allocations: 24.62 kB / 0.57 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.744e-05/0.4699, allocations: 19.44 kB / 0.57 GB, free: 11.18 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4699, allocations: 0 / 0.57 GB, free: 11.18 MB / 414.1 MB Notification: Performance of Templates: time 0.008036/0.478, allocations: 2.052 MB / 0.572 GB, free: 9.145 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.890040930127725]