Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.001797/0.001797, 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.001998/0.001998, allocations: 214.3 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.534/1.534, 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.2441/0.2441, allocations: 44.94 MB / 358.8 MB, free: 6.086 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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44") [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.002123/0.002123, allocations: 63.91 kB / 0.4936 GB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3768, allocations: 65.47 MB / 0.5575 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.00364/0.3805, allocations: 1.706 MB / 0.5592 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.3825, allocations: 0.9676 MB / 0.5601 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.366e-05/0.3826, allocations: 7.938 kB / 0.5601 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.3829, allocations: 39.83 kB / 0.5602 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003376/0.3832, allocations: 99.55 kB / 0.5603 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.3834, allocations: 79.66 kB / 0.5603 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.3836, allocations: 107.7 kB / 0.5605 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.3837, allocations: 11.98 kB / 0.5605 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.3839, allocations: 39.8 kB / 0.5605 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.18e-05/0.384, allocations: 35.78 kB / 0.5605 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.384, allocations: 7.938 kB / 0.5605 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.3841, allocations: 43.97 kB / 0.5606 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.354e-05/0.3841, allocations: 19.92 kB / 0.5606 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.273e-05/0.3842, allocations: 23.81 kB / 0.5606 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000318/0.3845, allocations: 133.8 kB / 0.5608 GB, free: 4.164 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3845, allocations: 4 kB / 0.5608 GB, free: 4.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3845, allocations: 0 / 0.5608 GB, free: 4.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.922e-06/0.3845, allocations: 0 / 0.5608 GB, free: 4.16 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.0006348/0.3852, allocations: 357.4 kB / 0.5611 GB, free: 3.781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3852, allocations: 12.03 kB / 0.5611 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.307e-05/0.3853, allocations: 8.891 kB / 0.5611 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.3856, allocations: 154.3 kB / 0.5613 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.3856, allocations: 4.375 kB / 0.5613 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.3856, allocations: 8.125 kB / 0.5613 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.3858, allocations: 53.67 kB / 0.5613 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3858, allocations: 4 kB / 0.5613 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.3858, allocations: 0 / 0.5613 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.3858, allocations: 4 kB / 0.5613 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.662e-05/0.3859, allocations: 15.98 kB / 0.5614 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.3863, allocations: 248.4 kB / 0.5616 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.3865, allocations: 50.69 kB / 0.5616 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.082e-05/0.3865, allocations: 20.84 kB / 0.5617 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.3866, allocations: 4 kB / 0.5617 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001624/0.3867, allocations: 75.31 kB / 0.5617 GB, free: 3.047 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.3867, allocations: 0 / 0.5617 GB, free: 3.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005923/0.3873, allocations: 189.3 kB / 0.5619 GB, free: 2.855 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.3874, allocations: 59.39 kB / 0.562 GB, free: 2.785 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.3876, allocations: 222.6 kB / 0.5622 GB, free: 2.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.3876, allocations: 25.7 kB / 0.5622 GB, free: 2.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.943e-05/0.3877, allocations: 112.1 kB / 0.5623 GB, free: 2.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.3877, allocations: 23.84 kB / 0.5623 GB, free: 2.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.307e-05/0.3878, allocations: 21.72 kB / 0.5624 GB, free: 2.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.388, allocations: 326.8 kB / 0.5627 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.228e-05/0.388, allocations: 27.98 kB / 0.5627 GB, free: 2.004 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.479e-05/0.3881, allocations: 37.7 kB / 0.5627 GB, free: 1.961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.3882, allocations: 61.64 kB / 0.5628 GB, free: 1.895 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.3882, allocations: 0 / 0.5628 GB, free: 1.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002303/0.3885, allocations: 105.6 kB / 0.5629 GB, free: 1.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.3885, allocations: 4 kB / 0.5629 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3885, allocations: 0 / 0.5629 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.3885, allocations: 7.984 kB / 0.5629 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.556e-05/0.3886, allocations: 19.97 kB / 0.5629 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3886, allocations: 0 / 0.5629 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.102e-05/0.3886, allocations: 8 kB / 0.5629 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.3886, allocations: 0 / 0.5629 GB, free: 1.746 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.0001243/0.3888, allocations: 129.8 kB / 0.5631 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.3888, allocations: 11.91 kB / 0.5631 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002771/0.3891, allocations: 127 kB / 0.5632 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3891, allocations: 3.984 kB / 0.5632 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/0.3891, allocations: 0 / 0.5632 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3891, allocations: 0 / 0.5632 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000559/0.3896, allocations: 354.9 kB / 0.5635 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.3897, allocations: 3.984 kB / 0.5635 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.96e-05/0.3897, allocations: 8 kB / 0.5635 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3897, allocations: 4 kB / 0.5635 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.3897, allocations: 0 / 0.5635 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.3897, allocations: 3.938 kB / 0.5635 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.3897, allocations: 8.219 kB / 0.5636 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.39, allocations: 220.4 kB / 0.5638 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.099e-05/0.39, allocations: 7.953 kB / 0.5638 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.39, allocations: 8.031 kB / 0.5638 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.574e-05/0.3901, allocations: 8.312 kB / 0.5638 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.3902, allocations: 11.92 kB / 0.5638 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.3902, allocations: 4 kB / 0.5638 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.3903, allocations: 159.2 kB / 0.564 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3903, allocations: 0 / 0.564 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002773/0.3906, allocations: 27.98 kB / 0.564 GB, free: 0.5859 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.001939/0.3925, allocations: 498.6 kB / 0.5645 GB, free: 316 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002146/0.3928, allocations: 59.91 kB / 0.5645 GB, free: 256 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3928, allocations: 0 / 0.5645 GB, free: 256 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.291e-05/0.3928, allocations: 35.92 kB / 0.5645 GB, free: 220 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.3932, allocations: 26.05 kB / 0.5646 GB, free: 196 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000566/0.3938, allocations: 247 kB / 0.5648 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.3939, allocations: 100.7 kB / 0.5649 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.9e-05/0.394, allocations: 13.23 kB / 0.5649 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.493e-05/0.394, allocations: 19.42 kB / 0.5649 GB, free: 15.77 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.394, allocations: 3.938 kB / 0.5649 GB, free: 15.77 MB / 414.1 MB Notification: Performance of Templates: time 0.005621/0.3996, allocations: 1.923 MB / 0.5668 GB, free: 13.88 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.327061479911208]