Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.002075/0.002075, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002653/0.002653, allocations: 214.2 kB / 24.48 MB, free: 3.84 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.5/1.5, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.229/0.229, allocations: 44.93 MB / 359.6 MB, free: 6.078 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.Test88,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.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,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.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") [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.002323/0.002323, allocations: 63.89 kB / 0.4943 GB, free: 9.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3457, allocations: 65.48 MB / 0.5583 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004305/0.3501, allocations: 2.166 MB / 0.5604 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002469/0.3525, allocations: 1.267 MB / 0.5616 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.3527, allocations: 4 kB / 0.5616 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004614/0.3531, allocations: 131.3 kB / 0.5617 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005688/0.3537, allocations: 242.9 kB / 0.562 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004234/0.3541, allocations: 199.5 kB / 0.5622 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005289/0.3546, allocations: 458.6 kB / 0.5626 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.3548, allocations: 55.84 kB / 0.5627 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003796/0.3552, allocations: 303 kB / 0.563 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.3554, allocations: 163.1 kB / 0.5631 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.862e-05/0.3554, allocations: 16 kB / 0.5631 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.3556, allocations: 71.97 kB / 0.5632 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.3558, allocations: 135.5 kB / 0.5633 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.3559, allocations: 138.9 kB / 0.5635 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005746/0.3565, allocations: 449.4 kB / 0.5639 GB, free: 1.555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3565, allocations: 4 kB / 0.5639 GB, free: 1.551 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.145e-06/0.3565, allocations: 0 / 0.5639 GB, free: 1.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.3565, allocations: 8 kB / 0.5639 GB, free: 1.543 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001197/0.3577, allocations: 0.7668 MB / 0.5646 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.3578, allocations: 11.98 kB / 0.5647 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.3579, allocations: 68.5 kB / 0.5647 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005849/0.3584, allocations: 343.2 kB / 0.565 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.3585, allocations: 8.375 kB / 0.5651 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.864e-05/0.3585, allocations: 24.08 kB / 0.5651 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003992/0.3589, allocations: 205.5 kB / 0.5653 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.3589, allocations: 3.938 kB / 0.5653 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.359, allocations: 4 kB / 0.5653 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.359, allocations: 4 kB / 0.5653 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/0.3592, allocations: 99.92 kB / 0.5654 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009322/0.3602, allocations: 0.7192 MB / 0.5661 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006895/0.3609, allocations: 242.5 kB / 0.5663 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.361, allocations: 91.52 kB / 0.5664 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.3611, allocations: 11.92 kB / 0.5664 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003765/0.3615, allocations: 200.5 kB / 0.5666 GB, free: 14.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.3615, allocations: 0 / 0.5666 GB, free: 14.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002609/0.3641, allocations: 1.175 MB / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.3642, allocations: 132.5 kB / 0.5679 GB, free: 13.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.3652, allocations: 0.8165 MB / 0.5687 GB, free: 12.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/0.3653, allocations: 37.7 kB / 0.5687 GB, free: 12.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/0.3655, allocations: 249 kB / 0.5689 GB, free: 12.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/0.3657, allocations: 142.8 kB / 0.5691 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.3658, allocations: 86.02 kB / 0.5692 GB, free: 11.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002209/0.366, allocations: 382.7 kB / 0.5695 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.3663, allocations: 112.8 kB / 0.5696 GB, free: 11.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.3666, allocations: 191.2 kB / 0.5698 GB, free: 11.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005826/0.3672, allocations: 327 kB / 0.5701 GB, free: 10.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3672, allocations: 8 kB / 0.5701 GB, free: 10.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008221/0.368, allocations: 457.1 kB / 0.5706 GB, free: 10.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.368, allocations: 6.656 kB / 0.5706 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.3681, allocations: 7.938 kB / 0.5706 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/0.3681, allocations: 4 kB / 0.5706 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/0.3684, allocations: 87.89 kB / 0.5707 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.3684, allocations: 4 kB / 0.5707 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.3686, allocations: 16.12 kB / 0.5707 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.922e-05/0.3686, allocations: 27.86 kB / 0.5707 GB, free: 10.23 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.0003135/0.3689, allocations: 236.1 kB / 0.5709 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.369, allocations: 67.53 kB / 0.571 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.3701, allocations: 0.518 MB / 0.5715 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.3701, allocations: 8 kB / 0.5715 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.3701, allocations: 3.984 kB / 0.5715 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3701, allocations: 0 / 0.5715 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/0.3719, allocations: 1.244 MB / 0.5727 GB, free: 8.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.3719, allocations: 4 kB / 0.5727 GB, free: 8.066 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.3721, allocations: 63.91 kB / 0.5728 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.3721, allocations: 7.938 kB / 0.5728 GB, free: 7.996 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.582e-05/0.3722, allocations: 24.23 kB / 0.5728 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/0.3722, allocations: 11.94 kB / 0.5729 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.3722, allocations: 4.375 kB / 0.5729 GB, free: 7.957 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.3732, allocations: 0.8317 MB / 0.5737 GB, free: 7.074 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002078/0.3734, allocations: 103.5 kB / 0.5738 GB, free: 6.973 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.32e-05/0.3735, allocations: 19.98 kB / 0.5738 GB, free: 6.953 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002793/0.3738, allocations: 15.98 kB / 0.5738 GB, free: 6.938 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.3739, allocations: 51.81 kB / 0.5739 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.013e-05/0.3739, allocations: 20 kB / 0.5739 GB, free: 6.867 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000706/0.3746, allocations: 0.5967 MB / 0.5745 GB, free: 6.277 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3746, allocations: 0 / 0.5745 GB, free: 6.277 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005476/0.3752, allocations: 91.92 kB / 0.5745 GB, free: 6.188 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 (48): * Single equations (assignments): 40 * 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.002224/0.3774, allocations: 0.57 MB / 0.5751 GB, free: 5.859 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006928/0.3781, allocations: 314.9 kB / 0.5754 GB, free: 5.551 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3781, allocations: 3.938 kB / 0.5754 GB, free: 5.547 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003256/0.3784, allocations: 159.7 kB / 0.5756 GB, free: 5.391 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009233/0.3794, allocations: 122.1 kB / 0.5757 GB, free: 5.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.3812, allocations: 1.126 MB / 0.5768 GB, free: 4.078 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.3815, allocations: 293.6 kB / 0.577 GB, free: 3.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.3816, allocations: 55.41 kB / 0.5771 GB, free: 3.715 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3816, allocations: 0 / 0.5771 GB, free: 3.715 MB / 414.1 MB Notification: Performance of Templates: time 0.01103/0.3927, allocations: 6.704 MB / 0.5836 GB, free: 13.04 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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: 8.594523466192186]