Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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: 113.2 kB / 20.43 MB, free: 1.449 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.002769/0.002769, allocations: 213.1 kB / 23.74 MB, free: 4.656 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 2.003/2.003, 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.2879/0.2879, allocations: 46.93 MB / 360.9 MB, free: 4.297 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.Test35,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.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,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.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00251/0.00251, allocations: 59.91 kB / 0.4967 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4542/0.4567, allocations: 66.04 MB / 0.5612 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003959/0.4607, allocations: 1.761 MB / 0.5629 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.4628, allocations: 1.045 MB / 0.5639 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.4629, allocations: 7.938 kB / 0.5639 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003978/0.4633, allocations: 91.67 kB / 0.564 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003742/0.4637, allocations: 127.5 kB / 0.5642 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.4639, allocations: 79.72 kB / 0.5642 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.4642, allocations: 123.6 kB / 0.5644 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.4643, allocations: 15.92 kB / 0.5644 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.4644, allocations: 59.75 kB / 0.5644 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.4646, allocations: 75.73 kB / 0.5645 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.4646, allocations: 4 kB / 0.5645 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.4648, allocations: 59.98 kB / 0.5646 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.995e-05/0.4648, allocations: 31.83 kB / 0.5646 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.695e-05/0.4649, allocations: 39.69 kB / 0.5646 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.4652, allocations: 145.8 kB / 0.5648 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4652, allocations: 0 / 0.5648 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4652, allocations: 0 / 0.5648 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.4652, allocations: 0 / 0.5648 GB, free: 0.7578 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.0007322/0.4659, allocations: 381.3 kB / 0.5651 GB, free: 364 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.466, allocations: 12.03 kB / 0.5651 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.047e-05/0.4661, allocations: 12.84 kB / 0.5652 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003627/0.4664, allocations: 159 kB / 0.5653 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.4665, allocations: 8.375 kB / 0.5653 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.215e-05/0.4665, allocations: 12.12 kB / 0.5653 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.4667, allocations: 69.58 kB / 0.5654 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.4667, allocations: 0 / 0.5654 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.4668, allocations: 0 / 0.5654 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.4668, allocations: 3.984 kB / 0.5654 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.4669, allocations: 23.98 kB / 0.5654 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005702/0.4674, allocations: 275.8 kB / 0.5657 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.4677, allocations: 62.55 kB / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.437e-05/0.4678, allocations: 16.98 kB / 0.5658 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.4678, allocations: 0 / 0.5658 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.468, allocations: 75.31 kB / 0.5658 GB, free: 15.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.468, allocations: 0 / 0.5658 GB, free: 15.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008722/0.4689, allocations: 245.8 kB / 0.5661 GB, free: 15.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.353e-05/0.469, allocations: 59.34 kB / 0.5661 GB, free: 15.22 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.4693, allocations: 238.9 kB / 0.5663 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001276/0.4694, allocations: 29.69 kB / 0.5664 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.441e-05/0.4695, allocations: 116.1 kB / 0.5665 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.4695, allocations: 27.75 kB / 0.5665 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-05/0.4696, allocations: 33.7 kB / 0.5665 GB, free: 14.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.4698, allocations: 326.8 kB / 0.5669 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.387e-05/0.4698, allocations: 27.98 kB / 0.5669 GB, free: 14.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.89e-05/0.4699, allocations: 45.7 kB / 0.5669 GB, free: 14.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.4701, allocations: 85.58 kB / 0.567 GB, free: 14.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.4701, allocations: 0 / 0.567 GB, free: 14.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002373/0.4703, allocations: 125.5 kB / 0.5671 GB, free: 14.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.4703, allocations: 8.031 kB / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.4704, allocations: 7.938 kB / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.4704, allocations: 0 / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.654e-05/0.4705, allocations: 23.98 kB / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.4705, allocations: 3.938 kB / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.616e-05/0.4705, allocations: 4 kB / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.4705, allocations: 4 kB / 0.5672 GB, free: 14.08 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.0001487/0.4707, allocations: 129.8 kB / 0.5673 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.4707, allocations: 15.91 kB / 0.5673 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003346/0.471, allocations: 154.9 kB / 0.5675 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.471, allocations: 4 kB / 0.5675 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.4711, allocations: 3.938 kB / 0.5675 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.4711, allocations: 0 / 0.5675 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006473/0.4717, allocations: 423.1 kB / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4717, allocations: 0 / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.103e-05/0.4718, allocations: 24.05 kB / 0.5679 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.4718, allocations: 0 / 0.5679 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.4718, allocations: 8 kB / 0.5679 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4718, allocations: 0 / 0.5679 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4718, allocations: 0 / 0.5679 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/0.4721, allocations: 245.2 kB / 0.5681 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.79e-05/0.4722, allocations: 15.91 kB / 0.5682 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.4722, allocations: 4 kB / 0.5682 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.485e-05/0.4723, allocations: 4 kB / 0.5682 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.4723, allocations: 7.984 kB / 0.5682 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.4723, allocations: 7.984 kB / 0.5682 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001823/0.4725, allocations: 171.2 kB / 0.5683 GB, free: 12.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4725, allocations: 0 / 0.5683 GB, free: 12.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002927/0.4728, allocations: 35.92 kB / 0.5684 GB, free: 12.75 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.002012/0.4748, allocations: 0.5153 MB / 0.5689 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000298/0.4751, allocations: 71.91 kB / 0.5689 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4751, allocations: 0 / 0.5689 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.756e-05/0.4752, allocations: 39.86 kB / 0.569 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.4756, allocations: 41.22 kB / 0.569 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006297/0.4762, allocations: 288.6 kB / 0.5693 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005455/0.4768, allocations: 0.7158 MB / 0.57 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.906e-05/0.4768, allocations: 16.64 kB / 0.57 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.775e-05/0.4769, allocations: 23.42 kB / 0.57 GB, free: 11.2 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4769, allocations: 0 / 0.57 GB, free: 11.2 MB / 414.1 MB Notification: Performance of Templates: time 0.006714/0.4836, allocations: 2.06 MB / 0.572 GB, free: 9.156 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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: 6.103817044058815]