Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.001568/0.001568, 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.001721/0.001721, allocations: 209.2 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.51/1.51, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2372/0.2372, allocations: 44.94 MB / 358.8 MB, free: 6.051 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24") [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.002079/0.002079, allocations: 71.89 kB / 0.4936 GB, free: 9.969 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3525, allocations: 65.48 MB / 0.5575 GB, free: 7.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003581/0.3561, allocations: 1.71 MB / 0.5592 GB, free: 5.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.358, allocations: 0.9676 MB / 0.5601 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.486e-05/0.358, allocations: 0 / 0.5601 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003379/0.3584, allocations: 43.77 kB / 0.5602 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003606/0.3587, allocations: 107.5 kB / 0.5603 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.3589, allocations: 75.67 kB / 0.5604 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.3591, allocations: 107.7 kB / 0.5605 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.3592, allocations: 8 kB / 0.5605 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.648e-05/0.3593, allocations: 43.8 kB / 0.5605 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.714e-05/0.3594, allocations: 35.83 kB / 0.5605 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.3594, allocations: 4 kB / 0.5605 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.3596, allocations: 43.92 kB / 0.5606 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.329e-05/0.3596, allocations: 19.92 kB / 0.5606 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.99e-05/0.3597, allocations: 27.8 kB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.3599, allocations: 133.8 kB / 0.5608 GB, free: 4.113 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3599, allocations: 0 / 0.5608 GB, free: 4.113 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3599, allocations: 0 / 0.5608 GB, free: 4.113 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.3599, allocations: 0 / 0.5608 GB, free: 4.113 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005692/0.3605, allocations: 357.5 kB / 0.5611 GB, free: 3.734 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.3605, allocations: 8.031 kB / 0.5611 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.628e-05/0.3606, allocations: 12.83 kB / 0.5611 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.3608, allocations: 154.3 kB / 0.5613 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.3608, allocations: 4.375 kB / 0.5613 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.3608, allocations: 8.125 kB / 0.5613 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.361, allocations: 53.67 kB / 0.5613 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.361, allocations: 7.938 kB / 0.5613 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.361, allocations: 4 kB / 0.5613 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.361, allocations: 4 kB / 0.5613 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.669e-05/0.3611, allocations: 19.98 kB / 0.5614 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003622/0.3615, allocations: 240.4 kB / 0.5616 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.3617, allocations: 58.67 kB / 0.5617 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.892e-05/0.3617, allocations: 20.84 kB / 0.5617 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.3617, allocations: 0 / 0.5617 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/0.3619, allocations: 71.33 kB / 0.5617 GB, free: 2.996 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.3619, allocations: 0 / 0.5617 GB, free: 2.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005777/0.3625, allocations: 177.4 kB / 0.5619 GB, free: 2.816 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.3625, allocations: 55.34 kB / 0.562 GB, free: 2.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.3628, allocations: 226.6 kB / 0.5622 GB, free: 2.516 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.3628, allocations: 29.7 kB / 0.5622 GB, free: 2.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.618e-05/0.3629, allocations: 108.1 kB / 0.5623 GB, free: 2.371 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.3629, allocations: 19.86 kB / 0.5623 GB, free: 2.352 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.63e-05/0.3629, allocations: 25.7 kB / 0.5624 GB, free: 2.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.3631, allocations: 330.8 kB / 0.5627 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.725e-05/0.3632, allocations: 23.98 kB / 0.5627 GB, free: 1.965 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-05/0.3632, allocations: 37.64 kB / 0.5627 GB, free: 1.922 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.3634, allocations: 69.62 kB / 0.5628 GB, free: 1.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3634, allocations: 0 / 0.5628 GB, free: 1.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000208/0.3636, allocations: 101.6 kB / 0.5629 GB, free: 1.742 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.3636, allocations: 4 kB / 0.5629 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3636, allocations: 4 kB / 0.5629 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3636, allocations: 0 / 0.5629 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.936e-05/0.3637, allocations: 19.92 kB / 0.5629 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.3637, allocations: 0 / 0.5629 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.05e-05/0.3638, allocations: 4 kB / 0.5629 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.3638, allocations: 12.03 kB / 0.5629 GB, free: 1.699 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 (10): * Single equations (assignments): 10 * 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.0001341/0.3639, allocations: 125.8 kB / 0.5631 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.364, allocations: 15.91 kB / 0.5631 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002829/0.3643, allocations: 123 kB / 0.5632 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3643, allocations: 0 / 0.5632 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/0.3643, allocations: 11.97 kB / 0.5632 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.3643, allocations: 0 / 0.5632 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004914/0.3648, allocations: 351.3 kB / 0.5635 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3648, allocations: 0 / 0.5635 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.535e-05/0.3648, allocations: 24.02 kB / 0.5636 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3648, allocations: 0 / 0.5636 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.3648, allocations: 0 / 0.5636 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.3648, allocations: 4.078 kB / 0.5636 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.766e-06/0.3648, allocations: 11.86 kB / 0.5636 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.3651, allocations: 216.3 kB / 0.5638 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.081e-05/0.3651, allocations: 7.953 kB / 0.5638 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.3651, allocations: 384 / 0.5638 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.363e-05/0.3652, allocations: 7.938 kB / 0.5638 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.3653, allocations: 15.92 kB / 0.5638 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.3653, allocations: 4 kB / 0.5638 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000156/0.3654, allocations: 159.2 kB / 0.564 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3654, allocations: 0 / 0.564 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.3657, allocations: 27.98 kB / 0.564 GB, free: 0.5352 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001917/0.3676, allocations: 496.6 kB / 0.5645 GB, free: 264 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001958/0.3678, allocations: 55.91 kB / 0.5645 GB, free: 208 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3678, allocations: 0 / 0.5645 GB, free: 208 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.586e-05/0.3679, allocations: 35.92 kB / 0.5646 GB, free: 172 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.3682, allocations: 27.92 kB / 0.5646 GB, free: 144 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005005/0.3687, allocations: 247.1 kB / 0.5648 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.3688, allocations: 100.9 kB / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.284e-05/0.3689, allocations: 13.28 kB / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.351e-05/0.3689, allocations: 19.42 kB / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3689, allocations: 0 / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of Templates: time 0.005429/0.3744, allocations: 1.926 MB / 0.5668 GB, free: 13.82 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.486785190179944]