Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.001961/0.001961, 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.002193/0.002193, allocations: 211.8 kB / 23.73 MB, free: 4.16 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.569/1.569, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2373/0.2373, allocations: 44.93 MB / 358.8 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") [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.003817/0.003817, allocations: 63.91 kB / 0.4936 GB, free: 9.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3532, allocations: 65.48 MB / 0.5575 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003149/0.3563, allocations: 1.729 MB / 0.5592 GB, free: 5.738 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.3582, allocations: 0.9716 MB / 0.5602 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.366e-05/0.3583, allocations: 0 / 0.5602 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003945/0.3587, allocations: 91.67 kB / 0.5603 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004127/0.3591, allocations: 123.5 kB / 0.5604 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.3594, allocations: 79.67 kB / 0.5604 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.3596, allocations: 127.7 kB / 0.5606 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.3597, allocations: 7.984 kB / 0.5606 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.3598, allocations: 63.75 kB / 0.5606 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.36, allocations: 75.67 kB / 0.5607 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.36, allocations: 4 kB / 0.5607 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.3601, allocations: 59.98 kB / 0.5608 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.029e-05/0.3602, allocations: 19.92 kB / 0.5608 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.083e-05/0.3602, allocations: 39.72 kB / 0.5608 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.3605, allocations: 145.8 kB / 0.561 GB, free: 3.945 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3605, allocations: 4 kB / 0.561 GB, free: 3.941 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3605, allocations: 0 / 0.561 GB, free: 3.941 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.3605, allocations: 3.938 kB / 0.561 GB, free: 3.938 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.0006463/0.3612, allocations: 369.3 kB / 0.5613 GB, free: 3.547 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.3612, allocations: 12.03 kB / 0.5613 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.061e-05/0.3613, allocations: 20.83 kB / 0.5614 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.3616, allocations: 159.1 kB / 0.5615 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.3616, allocations: 4.375 kB / 0.5615 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.3616, allocations: 4.125 kB / 0.5615 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.3618, allocations: 57.67 kB / 0.5616 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.3618, allocations: 8 kB / 0.5616 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.3619, allocations: 4 kB / 0.5616 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.3619, allocations: 3.938 kB / 0.5616 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.423e-05/0.3619, allocations: 23.97 kB / 0.5616 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004162/0.3624, allocations: 252.4 kB / 0.5619 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.3626, allocations: 58.48 kB / 0.5619 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.11e-05/0.3627, allocations: 32.89 kB / 0.5619 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.3627, allocations: 0 / 0.5619 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.3629, allocations: 75.38 kB / 0.562 GB, free: 2.758 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.3629, allocations: 0 / 0.562 GB, free: 2.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007972/0.3637, allocations: 245.3 kB / 0.5622 GB, free: 2.512 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.3637, allocations: 55.41 kB / 0.5623 GB, free: 2.445 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/0.364, allocations: 242.9 kB / 0.5625 GB, free: 2.195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.364, allocations: 25.7 kB / 0.5626 GB, free: 2.164 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.059e-05/0.3641, allocations: 124 kB / 0.5627 GB, free: 2.039 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.384e-05/0.3641, allocations: 31.73 kB / 0.5627 GB, free: 2.008 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/0.3642, allocations: 25.72 kB / 0.5627 GB, free: 1.977 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3644, allocations: 338.8 kB / 0.563 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.525e-05/0.3644, allocations: 27.98 kB / 0.5631 GB, free: 1.609 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.603e-05/0.3645, allocations: 49.64 kB / 0.5631 GB, free: 1.555 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.3647, allocations: 77.7 kB / 0.5632 GB, free: 1.473 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3647, allocations: 3.938 kB / 0.5632 GB, free: 1.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002451/0.3649, allocations: 133.5 kB / 0.5633 GB, free: 1.332 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3649, allocations: 4 kB / 0.5633 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3649, allocations: 0 / 0.5633 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.365, allocations: 4 kB / 0.5633 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.817e-05/0.365, allocations: 24.02 kB / 0.5634 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.365, allocations: 0 / 0.5634 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.656e-05/0.3651, allocations: 11.94 kB / 0.5634 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.3651, allocations: 4 kB / 0.5634 GB, free: 1.285 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.0001276/0.3652, allocations: 133.8 kB / 0.5635 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.3653, allocations: 15.91 kB / 0.5635 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003529/0.3656, allocations: 159.6 kB / 0.5637 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.3656, allocations: 4 kB / 0.5637 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3656, allocations: 0 / 0.5637 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.3656, allocations: 7.938 kB / 0.5637 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005848/0.3662, allocations: 399.8 kB / 0.5641 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.3662, allocations: 0 / 0.5641 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.5e-05/0.3663, allocations: 15.94 kB / 0.5641 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.3663, allocations: 7.938 kB / 0.5641 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.3663, allocations: 4 kB / 0.5641 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3663, allocations: 4 kB / 0.5641 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3663, allocations: 3.984 kB / 0.5641 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.3666, allocations: 237.2 kB / 0.5643 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.523e-05/0.3666, allocations: 19.89 kB / 0.5643 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.3667, allocations: 7.938 kB / 0.5643 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.046e-05/0.3667, allocations: 8 kB / 0.5644 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.3668, allocations: 11.92 kB / 0.5644 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.3668, allocations: 4 kB / 0.5644 GB, free: 180 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001687/0.367, allocations: 179.2 kB / 0.5645 GB, free: 0 / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.367, allocations: 0 / 0.5645 GB, free: 0 / 398.1 MB Notification: Performance of remove unused functions: time 0.0003056/0.3673, allocations: 28.08 kB / 0.5646 GB, free: 15.97 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.002152/0.3694, allocations: 0.5571 MB / 0.5651 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002398/0.3697, allocations: 75.91 kB / 0.5652 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3697, allocations: 0 / 0.5652 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.851e-05/0.3698, allocations: 39.92 kB / 0.5652 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.3701, allocations: 42.53 kB / 0.5653 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006316/0.3708, allocations: 296.4 kB / 0.5655 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.3709, allocations: 102 kB / 0.5656 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.258e-05/0.371, allocations: 20.62 kB / 0.5657 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.953e-05/0.371, allocations: 19.44 kB / 0.5657 GB, free: 15.02 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.371, allocations: 4 kB / 0.5657 GB, free: 15.02 MB / 414.1 MB Notification: Performance of Templates: time 0.006285/0.3773, allocations: 2.166 MB / 0.5678 GB, free: 12.88 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.378621863201261]