Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.001793/0.001793, 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.002021/0.002021, allocations: 208.1 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.509/1.509, 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.2389/0.2389, allocations: 44.93 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") [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.003792/0.003792, allocations: 63.89 kB / 0.4936 GB, free: 9.969 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3636, allocations: 65.47 MB / 0.5575 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003698/0.3673, allocations: 1.733 MB / 0.5592 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.3694, allocations: 0.9832 MB / 0.5602 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.76e-05/0.3695, allocations: 0 / 0.5602 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004409/0.3699, allocations: 103.7 kB / 0.5603 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004086/0.3703, allocations: 127.5 kB / 0.5604 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.3706, allocations: 83.72 kB / 0.5605 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.3708, allocations: 123.6 kB / 0.5606 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.3709, allocations: 15.97 kB / 0.5606 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.371, allocations: 55.77 kB / 0.5607 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.3712, allocations: 75.73 kB / 0.5607 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.3712, allocations: 4 kB / 0.5607 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.3713, allocations: 63.91 kB / 0.5608 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.478e-05/0.3714, allocations: 31.84 kB / 0.5608 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.415e-05/0.3715, allocations: 31.75 kB / 0.5609 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.3717, allocations: 141.8 kB / 0.561 GB, free: 3.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3717, allocations: 4 kB / 0.561 GB, free: 3.906 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3717, allocations: 0 / 0.561 GB, free: 3.906 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.3718, allocations: 4 kB / 0.561 GB, free: 3.902 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.0006542/0.3724, allocations: 387.3 kB / 0.5614 GB, free: 3.496 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.3724, allocations: 8.031 kB / 0.5614 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.848e-05/0.3725, allocations: 20.83 kB / 0.5614 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.3728, allocations: 162.4 kB / 0.5616 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.3728, allocations: 4.375 kB / 0.5616 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.3729, allocations: 12.08 kB / 0.5616 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.373, allocations: 61.66 kB / 0.5616 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.373, allocations: 4 kB / 0.5616 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.3731, allocations: 7.984 kB / 0.5616 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3731, allocations: 0 / 0.5616 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.275e-05/0.3731, allocations: 23.92 kB / 0.5617 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004819/0.3736, allocations: 252.4 kB / 0.5619 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.3739, allocations: 58.55 kB / 0.562 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.729e-05/0.374, allocations: 20.98 kB / 0.562 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.374, allocations: 0 / 0.562 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.3742, allocations: 79.31 kB / 0.5621 GB, free: 2.711 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.3742, allocations: 0 / 0.5621 GB, free: 2.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.000844/0.375, allocations: 261.7 kB / 0.5623 GB, free: 2.449 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.3751, allocations: 51.41 kB / 0.5624 GB, free: 2.387 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.3753, allocations: 258.7 kB / 0.5626 GB, free: 2.117 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.3754, allocations: 25.7 kB / 0.5626 GB, free: 2.086 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.859e-05/0.3755, allocations: 116.1 kB / 0.5627 GB, free: 1.969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/0.3755, allocations: 35.69 kB / 0.5628 GB, free: 1.934 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.965e-05/0.3755, allocations: 29.72 kB / 0.5628 GB, free: 1.898 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3757, allocations: 326.8 kB / 0.5631 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.294e-05/0.3758, allocations: 31.98 kB / 0.5631 GB, free: 1.539 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.693e-05/0.3759, allocations: 49.69 kB / 0.5632 GB, free: 1.484 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.376, allocations: 85.69 kB / 0.5633 GB, free: 1.395 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.376, allocations: 0 / 0.5633 GB, free: 1.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002464/0.3763, allocations: 137.5 kB / 0.5634 GB, free: 1.254 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.3763, allocations: 4 kB / 0.5634 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3763, allocations: 0 / 0.5634 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3763, allocations: 32 / 0.5634 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.726e-05/0.3764, allocations: 31.98 kB / 0.5634 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3764, allocations: 0 / 0.5634 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.08e-05/0.3765, allocations: 7.938 kB / 0.5634 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.3765, allocations: 4 kB / 0.5634 GB, free: 1.207 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 (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.0001233/0.3766, allocations: 133.8 kB / 0.5636 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.3766, allocations: 19.84 kB / 0.5636 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003232/0.3769, allocations: 158.9 kB / 0.5637 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.377, allocations: 0 / 0.5637 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.377, allocations: 0 / 0.5637 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.377, allocations: 11.92 kB / 0.5638 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005668/0.3775, allocations: 403.7 kB / 0.5641 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3775, allocations: 0 / 0.5641 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.448e-05/0.3776, allocations: 12 kB / 0.5642 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.3776, allocations: 3.938 kB / 0.5642 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.3776, allocations: 11.98 kB / 0.5642 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3776, allocations: 0 / 0.5642 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.3776, allocations: 4 kB / 0.5642 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.3779, allocations: 241 kB / 0.5644 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.621e-05/0.3779, allocations: 19.95 kB / 0.5644 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.378, allocations: 7.938 kB / 0.5644 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.77e-05/0.378, allocations: 4.094 kB / 0.5644 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.3781, allocations: 15.92 kB / 0.5644 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.3781, allocations: 4 kB / 0.5645 GB, free: 92 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001994/0.3783, allocations: 196.2 kB / 0.5646 GB, free: 15.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3783, allocations: 0 / 0.5646 GB, free: 15.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000282/0.3786, allocations: 31.94 kB / 0.5647 GB, free: 15.87 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 (12): * Single equations (assignments): 10 * 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.002092/0.3807, allocations: 0.5524 MB / 0.5652 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002413/0.3809, allocations: 75.91 kB / 0.5653 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3809, allocations: 0 / 0.5653 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.315e-05/0.381, allocations: 39.92 kB / 0.5653 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.3814, allocations: 34.78 kB / 0.5654 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006268/0.382, allocations: 312.5 kB / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.3822, allocations: 117.2 kB / 0.5658 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.171e-05/0.3822, allocations: 12.64 kB / 0.5658 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.883e-05/0.3823, allocations: 19.44 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3823, allocations: 0 / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of Templates: time 0.005968/0.3883, allocations: 2.178 MB / 0.5679 GB, free: 12.76 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.187130235135555]