Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.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.00133/0.00133, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 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.001394/0.001394, allocations: 221.1 kB / 25.13 MB, free: 3.609 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.485/1.485, allocations: 230.4 MB / 258.7 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2391/0.2391, allocations: 46.92 MB / 362 MB, free: 4.234 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002311/0.002311, allocations: 91.78 kB / 0.4979 GB, free: 7.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3453, allocations: 66.07 MB / 0.5624 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004124/0.3494, allocations: 2.29 MB / 0.5646 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002551/0.3519, allocations: 1.346 MB / 0.566 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.3521, allocations: 7.938 kB / 0.566 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004719/0.3526, allocations: 143.3 kB / 0.5661 GB, free: 432 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006239/0.3532, allocations: 258.9 kB / 0.5663 GB, free: 172 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005093/0.3537, allocations: 195.6 kB / 0.5665 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006078/0.3543, allocations: 470.5 kB / 0.567 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.3545, allocations: 48.06 kB / 0.567 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004536/0.3549, allocations: 350.9 kB / 0.5674 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002243/0.3551, allocations: 175.1 kB / 0.5675 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.199e-05/0.3552, allocations: 16 kB / 0.5675 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.3554, allocations: 71.98 kB / 0.5676 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.3555, allocations: 163.3 kB / 0.5678 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.3557, allocations: 202.3 kB / 0.568 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005917/0.3563, allocations: 493.2 kB / 0.5684 GB, free: 14.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3563, allocations: 0 / 0.5684 GB, free: 14.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3563, allocations: 0 / 0.5684 GB, free: 14.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.3563, allocations: 0 / 0.5684 GB, free: 14.02 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001304/0.3576, allocations: 0.8457 MB / 0.5693 GB, free: 13.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.3577, allocations: 8.031 kB / 0.5693 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.3578, allocations: 72.47 kB / 0.5693 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000688/0.3585, allocations: 377.6 kB / 0.5697 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.3585, allocations: 16.36 kB / 0.5697 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.366e-05/0.3586, allocations: 16.33 kB / 0.5697 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004066/0.359, allocations: 209.2 kB / 0.5699 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.359, allocations: 4 kB / 0.5699 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.359, allocations: 4 kB / 0.5699 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.359, allocations: 4 kB / 0.5699 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002472/0.3593, allocations: 95.84 kB / 0.57 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009648/0.3603, allocations: 0.7929 MB / 0.5708 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006355/0.3609, allocations: 238.5 kB / 0.571 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.3611, allocations: 79.53 kB / 0.5711 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.3611, allocations: 7.984 kB / 0.5711 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003776/0.3615, allocations: 204.4 kB / 0.5713 GB, free: 10.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.703e-06/0.3615, allocations: 0 / 0.5713 GB, free: 10.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002689/0.3642, allocations: 1.206 MB / 0.5725 GB, free: 9.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.3643, allocations: 132.5 kB / 0.5726 GB, free: 9.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.3654, allocations: 0.9575 MB / 0.5735 GB, free: 8.531 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.888e-05/0.3655, allocations: 41.69 kB / 0.5736 GB, free: 8.484 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002739/0.3658, allocations: 276.9 kB / 0.5738 GB, free: 8.211 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.3659, allocations: 154.8 kB / 0.574 GB, free: 8.059 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.3661, allocations: 74.09 kB / 0.5741 GB, free: 7.977 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002223/0.3663, allocations: 329.9 kB / 0.5744 GB, free: 7.648 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002621/0.3666, allocations: 116.8 kB / 0.5745 GB, free: 7.535 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/0.3669, allocations: 187.2 kB / 0.5747 GB, free: 7.332 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005627/0.3674, allocations: 311.1 kB / 0.575 GB, free: 7.004 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3674, allocations: 7.938 kB / 0.575 GB, free: 6.996 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008355/0.3683, allocations: 445.2 kB / 0.5754 GB, free: 6.555 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.3683, allocations: 10.28 kB / 0.5754 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.3683, allocations: 4 kB / 0.5754 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.3683, allocations: 7.984 kB / 0.5754 GB, free: 6.535 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.3686, allocations: 87.97 kB / 0.5755 GB, free: 6.449 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.3686, allocations: 8 kB / 0.5755 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.3688, allocations: 15.98 kB / 0.5755 GB, free: 6.426 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-05/0.3689, allocations: 16 kB / 0.5755 GB, free: 6.41 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0003521/0.3692, allocations: 260.1 kB / 0.5758 GB, free: 6.148 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.3693, allocations: 79.47 kB / 0.5759 GB, free: 6.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.3704, allocations: 0.5109 MB / 0.5764 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.3704, allocations: 4 kB / 0.5764 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.3704, allocations: 4 kB / 0.5764 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.3704, allocations: 3.984 kB / 0.5764 GB, free: 5.531 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.3724, allocations: 1.322 MB / 0.5777 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.3724, allocations: 0 / 0.5777 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.3726, allocations: 59.91 kB / 0.5777 GB, free: 4.074 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.3726, allocations: 4 kB / 0.5777 GB, free: 4.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/0.3726, allocations: 19.98 kB / 0.5777 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.3727, allocations: 8.25 kB / 0.5778 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3727, allocations: 4 kB / 0.5778 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.3737, allocations: 0.8133 MB / 0.5786 GB, free: 3.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001835/0.3738, allocations: 107.5 kB / 0.5787 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.838e-05/0.3739, allocations: 15.94 kB / 0.5787 GB, free: 3.059 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002874/0.3742, allocations: 23.98 kB / 0.5787 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.3743, allocations: 39.88 kB / 0.5787 GB, free: 2.996 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.921e-05/0.3744, allocations: 23.98 kB / 0.5788 GB, free: 2.973 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008842/0.3752, allocations: 0.7021 MB / 0.5794 GB, free: 2.277 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3752, allocations: 0 / 0.5794 GB, free: 2.277 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005767/0.3758, allocations: 87.92 kB / 0.5795 GB, free: 2.191 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00214/0.378, allocations: 0.5338 MB / 0.58 GB, free: 1.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007269/0.3787, allocations: 292.3 kB / 0.5803 GB, free: 1.555 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3787, allocations: 0 / 0.5803 GB, free: 1.555 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.379, allocations: 148.4 kB / 0.5805 GB, free: 1.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.38, allocations: 129.4 kB / 0.5806 GB, free: 1.281 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.3822, allocations: 1.207 MB / 0.5818 GB, free: 12 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007667/0.383, allocations: 0.9172 MB / 0.5827 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002407/0.3832, allocations: 83.28 kB / 0.5827 GB, free: 14.99 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.3833, allocations: 51.42 kB / 0.5828 GB, free: 14.94 MB / 430.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3833, allocations: 0 / 0.5828 GB, free: 14.94 MB / 430.1 MB Notification: Performance of Templates: time 0.0129/0.3962, allocations: 5.76 MB / 0.5884 GB, free: 9.219 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.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.289591213921085]