Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009325/0.0009325, allocations: 181.6 kB / 17.41 MB, free: 4.41 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.281/1.281, allocations: 225.7 MB / 243.9 MB, free: 10.19 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.0009143/0.0009143, allocations: 100.4 kB / 295.1 MB, free: 9.73 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.3613/0.3613, allocations: 44.32 MB / 390.5 MB, free: 38.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.000385, allocations: 12 kB / 463.2 MB, free: 472 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3557, allocations: 61.9 MB / 0.5127 GB, free: 37.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.001806/0.3576, allocations: 1.4 MB / 0.5141 GB, free: 36.94 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.3587, allocations: 0.8921 MB / 0.515 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.967e-05/0.3588, allocations: 4 kB / 0.515 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002675/0.3591, allocations: 30.94 kB / 0.515 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.3592, allocations: 54.3 kB / 0.5151 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.3595, allocations: 93.52 kB / 0.5152 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.3596, allocations: 90.5 kB / 0.5152 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.982e-05/0.3597, allocations: 5.891 kB / 0.5152 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.022e-05/0.3598, allocations: 49.11 kB / 0.5153 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.613e-05/0.3598, allocations: 27.5 kB / 0.5153 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.3599, allocations: 2.844 kB / 0.5153 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.686e-05/0.3599, allocations: 35.2 kB / 0.5154 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.645e-05/0.36, allocations: 21.27 kB / 0.5154 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.158e-05/0.3601, allocations: 57.28 kB / 0.5154 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.3603, allocations: 108.1 kB / 0.5155 GB, free: 36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3603, allocations: 0 / 0.5155 GB, free: 36 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3603, allocations: 0 / 0.5155 GB, free: 36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.3603, allocations: 0 / 0.5155 GB, free: 36 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000423/0.3607, allocations: 405.8 kB / 0.5159 GB, free: 35.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3608, allocations: 10.91 kB / 0.5159 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.3608, allocations: 7.531 kB / 0.5159 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.361, allocations: 205.2 kB / 0.5161 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.361, allocations: 384 / 0.5161 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.361, allocations: 10.47 kB / 0.5161 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.3612, allocations: 57.11 kB / 0.5162 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3612, allocations: 0 / 0.5162 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.3612, allocations: 4 kB / 0.5162 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3612, allocations: 4 kB / 0.5162 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.52e-05/0.3613, allocations: 21.95 kB / 0.5162 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002854/0.3616, allocations: 289.2 kB / 0.5165 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.3617, allocations: 57.09 kB / 0.5166 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.623e-05/0.3618, allocations: 25.39 kB / 0.5166 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.3618, allocations: 0 / 0.5166 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.362, allocations: 71.42 kB / 0.5167 GB, free: 34.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.362, allocations: 0 / 0.5167 GB, free: 34.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004706/0.3625, allocations: 169.6 kB / 0.5168 GB, free: 34.83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.3625, allocations: 57.28 kB / 0.5169 GB, free: 34.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.3627, allocations: 182.3 kB / 0.517 GB, free: 34.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.3627, allocations: 29.7 kB / 0.5171 GB, free: 34.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.683e-05/0.3627, allocations: 105.1 kB / 0.5172 GB, free: 34.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.3627, allocations: 26.02 kB / 0.5172 GB, free: 34.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-06/0.3628, allocations: 7.938 kB / 0.5172 GB, free: 34.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.229e-05/0.3628, allocations: 325 kB / 0.5175 GB, free: 34.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.926e-05/0.3629, allocations: 18.94 kB / 0.5175 GB, free: 34.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.299e-05/0.3629, allocations: 35.55 kB / 0.5176 GB, free: 34.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.432e-05/0.363, allocations: 70.56 kB / 0.5176 GB, free: 34.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.363, allocations: 0 / 0.5176 GB, free: 34.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001415/0.3632, allocations: 94.48 kB / 0.5177 GB, free: 34.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.3632, allocations: 2.969 kB / 0.5177 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3632, allocations: 7.062 kB / 0.5177 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3632, allocations: 7.281 kB / 0.5177 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.464e-05/0.3633, allocations: 11.72 kB / 0.5178 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.3633, allocations: 6.484 kB / 0.5178 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.671e-05/0.3634, allocations: 11.23 kB / 0.5178 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.3634, allocations: 2.781 kB / 0.5178 GB, free: 34.02 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 (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 7.939e-05/0.3635, allocations: 125.2 kB / 0.5179 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.3635, allocations: 13.83 kB / 0.5179 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.634e-05/0.3636, allocations: 16.3 kB / 0.5179 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3636, allocations: 0.7031 kB / 0.5179 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3636, allocations: 0 / 0.5179 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.3636, allocations: 4.734 kB / 0.5179 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003827/0.364, allocations: 393 kB / 0.5183 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.364, allocations: 1.125 kB / 0.5183 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.709e-05/0.364, allocations: 13.11 kB / 0.5183 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3641, allocations: 1.062 kB / 0.5183 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.3641, allocations: 5.516 kB / 0.5183 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3641, allocations: 1.703 kB / 0.5183 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3641, allocations: 1.219 kB / 0.5183 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.3643, allocations: 201.1 kB / 0.5185 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.219e-05/0.3644, allocations: 89.36 kB / 0.5186 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.3644, allocations: 10 kB / 0.5186 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.838e-05/0.3645, allocations: 5.188 kB / 0.5186 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.3645, allocations: 4.953 kB / 0.5186 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.3645, allocations: 3.766 kB / 0.5186 GB, free: 33.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001126/0.3647, allocations: 142.5 kB / 0.5188 GB, free: 33.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3647, allocations: 11.88 kB / 0.5188 GB, free: 33.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002331/0.3649, allocations: 22.03 kB / 0.5188 GB, free: 33.13 MB / 378.7 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 (8): * Single equations (assignments): 6 * 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.001107/0.366, allocations: 0.528 MB / 0.5193 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.3662, allocations: 54.7 kB / 0.5194 GB, free: 32.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3662, allocations: 3.938 kB / 0.5194 GB, free: 32.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.772e-05/0.3663, allocations: 32.73 kB / 0.5194 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.3667, allocations: 26.67 kB / 0.5194 GB, free: 32.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004386/0.3671, allocations: 247.1 kB / 0.5197 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.3673, allocations: 0.7072 MB / 0.5203 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.137e-05/0.3673, allocations: 16.11 kB / 0.5204 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.3674, allocations: 21.62 kB / 0.5204 GB, free: 31.87 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3674, allocations: 0 / 0.5204 GB, free: 31.87 MB / 378.7 MB Notification: Performance of Templates: time 0.003789/0.3712, allocations: 1.622 MB / 0.522 GB, free: 31.69 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches