Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 180.8 kB / 17.41 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 225.7 MB / 243.9 MB, free: 8.453 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008261/0.0008264, allocations: 94.02 kB / 295.1 MB, free: 9.484 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4221/0.4221, allocations: 44.32 MB / 390.5 MB, free: 38.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003606, allocations: 16 kB / 463.2 MB, free: 448 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3585, allocations: 61.89 MB / 0.5127 GB, free: 37.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002046/0.3605, allocations: 1.417 MB / 0.5141 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.3619, allocations: 0.8992 MB / 0.515 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.422e-05/0.362, allocations: 3.938 kB / 0.515 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.3623, allocations: 82.67 kB / 0.5151 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.3625, allocations: 65.84 kB / 0.5152 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.3628, allocations: 101.7 kB / 0.5152 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.363, allocations: 104.1 kB / 0.5153 GB, free: 36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.3631, allocations: 17.22 kB / 0.5154 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.281e-05/0.3632, allocations: 53.02 kB / 0.5154 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.656e-05/0.3633, allocations: 52.08 kB / 0.5155 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.3633, allocations: 0 / 0.5155 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.3634, allocations: 55.41 kB / 0.5155 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.557e-05/0.3635, allocations: 24.16 kB / 0.5155 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.568e-05/0.3635, allocations: 61.34 kB / 0.5156 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.3637, allocations: 125.5 kB / 0.5157 GB, free: 35.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3638, allocations: 0 / 0.5157 GB, free: 35.83 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3638, allocations: 0 / 0.5157 GB, free: 35.83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.3638, allocations: 0 / 0.5157 GB, free: 35.83 MB / 378.7 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.0005803/0.3644, allocations: 414.6 kB / 0.5161 GB, free: 35.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.3644, allocations: 8.719 kB / 0.5161 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.3645, allocations: 14.47 kB / 0.5161 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.3647, allocations: 212 kB / 0.5163 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.3648, allocations: 4.375 kB / 0.5163 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.3648, allocations: 7.094 kB / 0.5163 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.365, allocations: 58.59 kB / 0.5164 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.365, allocations: 6.875 kB / 0.5164 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.3651, allocations: 4 kB / 0.5164 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.3651, allocations: 0 / 0.5164 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.399e-05/0.3652, allocations: 23.34 kB / 0.5164 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.3656, allocations: 298.5 kB / 0.5167 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.3658, allocations: 60 kB / 0.5168 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.292e-05/0.3659, allocations: 26.22 kB / 0.5168 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.3659, allocations: 4.062 kB / 0.5168 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001839/0.3661, allocations: 70.81 kB / 0.5169 GB, free: 34.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.3661, allocations: 0 / 0.5169 GB, free: 34.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007344/0.3669, allocations: 242.3 kB / 0.5171 GB, free: 34.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.3669, allocations: 58.3 kB / 0.5172 GB, free: 34.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.3671, allocations: 210.9 kB / 0.5174 GB, free: 34.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.3671, allocations: 26.67 kB / 0.5174 GB, free: 34.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.359e-05/0.3672, allocations: 105.8 kB / 0.5175 GB, free: 34.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.3672, allocations: 47.78 kB / 0.5175 GB, free: 34.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.3672, allocations: 1.031 kB / 0.5175 GB, free: 34.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.149e-05/0.3673, allocations: 323.1 kB / 0.5178 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.019e-05/0.3674, allocations: 29.73 kB / 0.5179 GB, free: 33.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.828e-05/0.3675, allocations: 52.83 kB / 0.5179 GB, free: 33.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.3677, allocations: 78.84 kB / 0.518 GB, free: 33.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3677, allocations: 0 / 0.518 GB, free: 33.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002493/0.3679, allocations: 121 kB / 0.5181 GB, free: 33.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.368, allocations: 6 kB / 0.5181 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.368, allocations: 0 / 0.5181 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.368, allocations: 6.625 kB / 0.5181 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.237e-05/0.3681, allocations: 28.47 kB / 0.5182 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.3681, allocations: 7.969 kB / 0.5182 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.948e-05/0.3681, allocations: 4.047 kB / 0.5182 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.3682, allocations: 2.875 kB / 0.5182 GB, free: 33.75 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 9.443e-05/0.3683, allocations: 129.4 kB / 0.5183 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.3683, allocations: 13.75 kB / 0.5183 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.237e-05/0.3683, allocations: 22.02 kB / 0.5183 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3684, allocations: 3 kB / 0.5183 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.3684, allocations: 3.938 kB / 0.5183 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3684, allocations: 8.688 kB / 0.5183 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004769/0.3689, allocations: 442.8 kB / 0.5188 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.3689, allocations: 2.484 kB / 0.5188 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.42e-05/0.3689, allocations: 15.53 kB / 0.5188 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3689, allocations: 3.125 kB / 0.5188 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.3689, allocations: 3.375 kB / 0.5188 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.369, allocations: 6.938 kB / 0.5188 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.369, allocations: 0 / 0.5188 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.3692, allocations: 236.1 kB / 0.519 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.096e-05/0.3692, allocations: 94.44 kB / 0.5191 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.3693, allocations: 7.656 kB / 0.5191 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.971e-05/0.3694, allocations: 6.812 kB / 0.5191 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.3694, allocations: 8.922 kB / 0.5191 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.3694, allocations: 3.219 kB / 0.5191 GB, free: 32.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001162/0.3696, allocations: 164.6 kB / 0.5193 GB, free: 32.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3696, allocations: 3.938 kB / 0.5193 GB, free: 32.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002739/0.3698, allocations: 24.25 kB / 0.5193 GB, free: 32.82 MB / 378.7 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 (11): * Single equations (assignments): 9 * 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.001212/0.3711, allocations: 0.603 MB / 0.5199 GB, free: 32.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002144/0.3713, allocations: 79.52 kB / 0.52 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3713, allocations: 0 / 0.52 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.869e-05/0.3714, allocations: 47.2 kB / 0.52 GB, free: 32.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.3717, allocations: 29.17 kB / 0.5201 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005313/0.3723, allocations: 304.2 kB / 0.5203 GB, free: 32.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.3725, allocations: 0.7104 MB / 0.521 GB, free: 31.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.207e-05/0.3726, allocations: 22.97 kB / 0.5211 GB, free: 31.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.267e-05/0.3726, allocations: 29.56 kB / 0.5211 GB, free: 31.46 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3726, allocations: 0 / 0.5211 GB, free: 31.46 MB / 378.7 MB Notification: Performance of Templates: time 0.00481/0.3775, allocations: 1.857 MB / 0.5229 GB, free: 31.26 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches