Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.001938/0.001938, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002089/0.002089, allocations: 216.9 kB / 23.73 MB, free: 4.156 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.55/1.55, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2338/0.2338, allocations: 44.93 MB / 358.8 MB, free: 6.156 MB / 286.1 MB " [Timeout remaining time 179] 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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") [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.002159/0.002159, allocations: 67.91 kB / 0.4936 GB, free: 9.973 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3616, allocations: 65.47 MB / 0.5575 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.00388/0.3655, allocations: 1.878 MB / 0.5594 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00219/0.3677, allocations: 1.083 MB / 0.5604 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.3678, allocations: 0 / 0.5604 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005427/0.3684, allocations: 223.4 kB / 0.5606 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000519/0.3689, allocations: 223.2 kB / 0.5608 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.3692, allocations: 115.6 kB / 0.561 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003615/0.3695, allocations: 263.2 kB / 0.5612 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.3697, allocations: 17.97 kB / 0.5612 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.3699, allocations: 119.6 kB / 0.5613 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002319/0.3701, allocations: 163.4 kB / 0.5615 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/0.3701, allocations: 12 kB / 0.5615 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.3703, allocations: 67.97 kB / 0.5616 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.3704, allocations: 59.7 kB / 0.5616 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.309e-05/0.3705, allocations: 75.41 kB / 0.5617 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003647/0.3708, allocations: 249.2 kB / 0.5619 GB, free: 2.797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3708, allocations: 4 kB / 0.5619 GB, free: 2.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3708, allocations: 0 / 0.5619 GB, free: 2.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.3708, allocations: 0 / 0.5619 GB, free: 2.793 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008336/0.3717, allocations: 0.4963 MB / 0.5624 GB, free: 2.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.3717, allocations: 8.031 kB / 0.5624 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.848e-05/0.3718, allocations: 36.73 kB / 0.5625 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000411/0.3722, allocations: 222.5 kB / 0.5627 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.3722, allocations: 4.375 kB / 0.5627 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.777e-05/0.3723, allocations: 16.12 kB / 0.5627 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002934/0.3726, allocations: 111.3 kB / 0.5628 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.3726, allocations: 4 kB / 0.5628 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.3726, allocations: 4 kB / 0.5628 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.3726, allocations: 0 / 0.5628 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.3728, allocations: 51.95 kB / 0.5629 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006833/0.3734, allocations: 420.4 kB / 0.5633 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004289/0.3739, allocations: 121.1 kB / 0.5634 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.374, allocations: 45.83 kB / 0.5634 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.374, allocations: 0 / 0.5634 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002806/0.3743, allocations: 121.1 kB / 0.5635 GB, free: 1.016 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.3743, allocations: 3.938 kB / 0.5635 GB, free: 1.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001443/0.3757, allocations: 0.5131 MB / 0.564 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/0.3758, allocations: 81.11 kB / 0.5641 GB, free: 404 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005894/0.3764, allocations: 456.4 kB / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.3764, allocations: 41.64 kB / 0.5646 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.3766, allocations: 164.5 kB / 0.5648 GB, free: 15.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.239e-05/0.3767, allocations: 71.41 kB / 0.5648 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.207e-05/0.3767, allocations: 45.7 kB / 0.5649 GB, free: 15.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.3769, allocations: 342.8 kB / 0.5652 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.3771, allocations: 59.97 kB / 0.5652 GB, free: 15.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.3772, allocations: 95.33 kB / 0.5653 GB, free: 15.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/0.3776, allocations: 179.4 kB / 0.5655 GB, free: 14.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3776, allocations: 3.938 kB / 0.5655 GB, free: 14.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000435/0.378, allocations: 237.3 kB / 0.5657 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.378, allocations: 4 kB / 0.5657 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.378, allocations: 3.938 kB / 0.5657 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.378, allocations: 4 kB / 0.5657 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.3782, allocations: 43.92 kB / 0.5658 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/0.3782, allocations: 4 kB / 0.5658 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.745e-05/0.3783, allocations: 11.94 kB / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.3783, allocations: 16.06 kB / 0.5658 GB, free: 14.57 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001999/0.3785, allocations: 166.3 kB / 0.566 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.057e-05/0.3786, allocations: 27.81 kB / 0.566 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005674/0.3791, allocations: 284.2 kB / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3791, allocations: 4 kB / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3791, allocations: 0 / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.3792, allocations: 0 / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.3802, allocations: 0.68 MB / 0.5669 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3802, allocations: 0 / 0.5669 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.3803, allocations: 35.92 kB / 0.567 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.3803, allocations: 0 / 0.567 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.3803, allocations: 15.98 kB / 0.567 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3803, allocations: 240 / 0.567 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3803, allocations: 4 kB / 0.567 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005724/0.3809, allocations: 443.5 kB / 0.5674 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.438e-05/0.381, allocations: 35.83 kB / 0.5675 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/0.381, allocations: 8 kB / 0.5675 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.3812, allocations: 11.98 kB / 0.5675 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.3812, allocations: 23.91 kB / 0.5675 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.69e-05/0.3812, allocations: 12 kB / 0.5675 GB, free: 12.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003808/0.3816, allocations: 343 kB / 0.5678 GB, free: 12.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3816, allocations: 3.938 kB / 0.5678 GB, free: 12.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003634/0.382, allocations: 47.94 kB / 0.5679 GB, free: 12.36 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002211/0.3842, allocations: 0.5521 MB / 0.5684 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003992/0.3846, allocations: 171.7 kB / 0.5686 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3846, allocations: 0 / 0.5686 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.3848, allocations: 79.84 kB / 0.5687 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005729/0.3854, allocations: 60.14 kB / 0.5687 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.3864, allocations: 0.5708 MB / 0.5693 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.3866, allocations: 174.1 kB / 0.5694 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.3867, allocations: 45.89 kB / 0.5695 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.367e-05/0.3868, allocations: 31.42 kB / 0.5695 GB, free: 10.88 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3868, allocations: 0 / 0.5695 GB, free: 10.88 MB / 414.1 MB Notification: Performance of Templates: time 0.00826/0.395, allocations: 3.542 MB / 0.573 GB, free: 7.387 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.399327704682946]