Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.001664/0.001664, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00209/0.00209, allocations: 209.6 kB / 23.73 MB, free: 4.387 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.54/1.54, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2277/0.2277, allocations: 44.94 MB / 358.8 MB, free: 6.062 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 72.17 kB / 0.4936 GB, free: 9.988 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3486, allocations: 65.47 MB / 0.5575 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.004293/0.3529, allocations: 1.721 MB / 0.5592 GB, free: 5.754 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002457/0.3553, allocations: 0.9638 MB / 0.5601 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.613e-05/0.3554, allocations: 0 / 0.5601 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003585/0.3558, allocations: 51.75 kB / 0.5602 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004365/0.3562, allocations: 99.53 kB / 0.5603 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.3565, allocations: 79.72 kB / 0.5604 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000252/0.3567, allocations: 115.6 kB / 0.5605 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.3568, allocations: 4 kB / 0.5605 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.357, allocations: 43.78 kB / 0.5605 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.3571, allocations: 35.78 kB / 0.5605 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.3571, allocations: 4 kB / 0.5606 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.3572, allocations: 43.92 kB / 0.5606 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.997e-05/0.3573, allocations: 27.91 kB / 0.5606 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.2e-05/0.3574, allocations: 27.75 kB / 0.5606 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002971/0.3577, allocations: 133.9 kB / 0.5608 GB, free: 4.137 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3577, allocations: 0 / 0.5608 GB, free: 4.137 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3577, allocations: 0 / 0.5608 GB, free: 4.137 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.3577, allocations: 8 kB / 0.5608 GB, free: 4.129 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.0008302/0.3585, allocations: 361.3 kB / 0.5611 GB, free: 3.746 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.499e-05/0.3586, allocations: 12.03 kB / 0.5611 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.775e-05/0.3586, allocations: 8.891 kB / 0.5611 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003856/0.359, allocations: 163 kB / 0.5613 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.359, allocations: 8.375 kB / 0.5613 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.3591, allocations: 4.125 kB / 0.5613 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.3593, allocations: 57.66 kB / 0.5614 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.3593, allocations: 4 kB / 0.5614 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.3593, allocations: 0 / 0.5614 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3593, allocations: 4 kB / 0.5614 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.693e-05/0.3594, allocations: 19.98 kB / 0.5614 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004716/0.3599, allocations: 240.4 kB / 0.5616 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.3601, allocations: 58.67 kB / 0.5617 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.712e-05/0.3602, allocations: 20.84 kB / 0.5617 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.3602, allocations: 0 / 0.5617 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.3604, allocations: 67.39 kB / 0.5618 GB, free: 3.004 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.3604, allocations: 3.938 kB / 0.5618 GB, free: 3 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007498/0.3612, allocations: 189.4 kB / 0.562 GB, free: 2.809 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.3612, allocations: 51.41 kB / 0.562 GB, free: 2.746 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003517/0.3616, allocations: 246.8 kB / 0.5622 GB, free: 2.492 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.3616, allocations: 25.7 kB / 0.5623 GB, free: 2.461 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.3617, allocations: 120.1 kB / 0.5624 GB, free: 2.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.993e-05/0.3617, allocations: 23.84 kB / 0.5624 GB, free: 2.316 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-05/0.3618, allocations: 21.72 kB / 0.5624 GB, free: 2.289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.362, allocations: 334.8 kB / 0.5627 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.435e-05/0.3621, allocations: 20 kB / 0.5628 GB, free: 1.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.3622, allocations: 41.64 kB / 0.5628 GB, free: 1.887 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.3624, allocations: 61.7 kB / 0.5629 GB, free: 1.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3624, allocations: 7.875 kB / 0.5629 GB, free: 1.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002801/0.3626, allocations: 105.6 kB / 0.563 GB, free: 1.703 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3627, allocations: 4 kB / 0.563 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3627, allocations: 4 kB / 0.563 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.3627, allocations: 0 / 0.563 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.3628, allocations: 19.92 kB / 0.563 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3628, allocations: 0 / 0.563 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.159e-05/0.3629, allocations: 12.03 kB / 0.563 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.3629, allocations: 4.375 kB / 0.563 GB, free: 1.66 MB / 398.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.0001441/0.363, allocations: 133.8 kB / 0.5631 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.3631, allocations: 11.91 kB / 0.5631 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003543/0.3634, allocations: 123 kB / 0.5633 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3634, allocations: 0 / 0.5633 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.3634, allocations: 4 kB / 0.5633 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3634, allocations: 4 kB / 0.5633 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006081/0.364, allocations: 355 kB / 0.5636 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.364, allocations: 4.031 kB / 0.5636 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.673e-05/0.3641, allocations: 15.98 kB / 0.5636 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3641, allocations: 0 / 0.5636 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.3641, allocations: 4 kB / 0.5636 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3641, allocations: 0 / 0.5636 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.3641, allocations: 4.016 kB / 0.5636 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.3645, allocations: 216.2 kB / 0.5638 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.405e-05/0.3645, allocations: 15.89 kB / 0.5639 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.3646, allocations: 8 kB / 0.5639 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.3647, allocations: 0 / 0.5639 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.3647, allocations: 20.23 kB / 0.5639 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.3648, allocations: 4 kB / 0.5639 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002331/0.365, allocations: 179.2 kB / 0.5641 GB, free: 0.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.365, allocations: 0 / 0.5641 GB, free: 0.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000421/0.3654, allocations: 23.94 kB / 0.5641 GB, free: 488 kB / 398.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.002403/0.3678, allocations: 499.3 kB / 0.5646 GB, free: 200 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002621/0.3681, allocations: 59.91 kB / 0.5646 GB, free: 140 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3681, allocations: 0 / 0.5646 GB, free: 140 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.3682, allocations: 31.92 kB / 0.5646 GB, free: 108 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004969/0.3687, allocations: 39.66 kB / 0.5647 GB, free: 68 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006649/0.3693, allocations: 267.2 kB / 0.5649 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.3695, allocations: 100.9 kB / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.342e-05/0.3696, allocations: 21.27 kB / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/0.3696, allocations: 15.44 kB / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3696, allocations: 0 / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of Templates: time 0.006877/0.3765, allocations: 1.934 MB / 0.567 GB, free: 13.72 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.332244312390685]