Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,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.Test20") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 173.2 kB / 17.4 MB, free: 4.391 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.438/1.438, 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.0009711/0.0009711, allocations: 93.31 kB / 295.1 MB, free: 9.473 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.3364/0.3364, allocations: 44.33 MB / 390.5 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003487, allocations: 12 kB / 463.2 MB, free: 452 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3499, allocations: 61.89 MB / 0.5127 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.001758/0.3517, allocations: 1.403 MB / 0.5141 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.3528, allocations: 0.894 MB / 0.515 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.44e-05/0.3529, allocations: 7.938 kB / 0.515 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.3532, allocations: 37.67 kB / 0.515 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.3534, allocations: 45.38 kB / 0.5151 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.3536, allocations: 101.4 kB / 0.5152 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.3538, allocations: 85.22 kB / 0.5152 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.697e-05/0.3539, allocations: 16.7 kB / 0.5153 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.174e-05/0.354, allocations: 41.03 kB / 0.5153 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.81e-05/0.354, allocations: 29.7 kB / 0.5153 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.3541, allocations: 2.938 kB / 0.5153 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.123e-05/0.3541, allocations: 34.78 kB / 0.5154 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.223e-05/0.3542, allocations: 24.02 kB / 0.5154 GB, free: 36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.057e-05/0.3543, allocations: 54.2 kB / 0.5154 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.3544, allocations: 107.5 kB / 0.5155 GB, free: 35.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3544, allocations: 0 / 0.5155 GB, free: 35.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3544, allocations: 0 / 0.5155 GB, free: 35.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.3545, allocations: 0 / 0.5155 GB, free: 35.91 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.000439/0.3549, allocations: 400.1 kB / 0.5159 GB, free: 35.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3549, allocations: 12.09 kB / 0.5159 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.355, allocations: 12.25 kB / 0.5159 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.3552, allocations: 205.5 kB / 0.5161 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.3552, allocations: 384 / 0.5161 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.3552, allocations: 7.094 kB / 0.5162 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.3554, allocations: 56.31 kB / 0.5162 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.3554, allocations: 3.984 kB / 0.5162 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.3554, allocations: 4 kB / 0.5162 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.3554, allocations: 0 / 0.5162 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.58e-05/0.3555, allocations: 22.42 kB / 0.5162 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000292/0.3558, allocations: 288.5 kB / 0.5165 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.3559, allocations: 55.59 kB / 0.5166 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.927e-05/0.356, allocations: 24.7 kB / 0.5166 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.356, allocations: 1.156 kB / 0.5166 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.3562, allocations: 70.03 kB / 0.5167 GB, free: 34.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.3562, allocations: 3.938 kB / 0.5167 GB, free: 34.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005088/0.3567, allocations: 170.9 kB / 0.5168 GB, free: 34.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.3568, allocations: 53.27 kB / 0.5169 GB, free: 34.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.3569, allocations: 188.1 kB / 0.517 GB, free: 34.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.357, allocations: 31.67 kB / 0.5171 GB, free: 34.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.424e-05/0.357, allocations: 99.36 kB / 0.5172 GB, free: 34.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.357, allocations: 26.22 kB / 0.5172 GB, free: 34.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/0.357, allocations: 0 / 0.5172 GB, free: 34.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.909e-05/0.3571, allocations: 326.1 kB / 0.5175 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.632e-05/0.3572, allocations: 21.69 kB / 0.5175 GB, free: 34.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.251e-05/0.3572, allocations: 38.55 kB / 0.5176 GB, free: 34.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.48e-05/0.3573, allocations: 61.34 kB / 0.5176 GB, free: 34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3574, allocations: 0 / 0.5176 GB, free: 34 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001503/0.3575, allocations: 102.4 kB / 0.5177 GB, free: 33.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.3575, allocations: 9.938 kB / 0.5177 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.3575, allocations: 0 / 0.5177 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.3576, allocations: 0 / 0.5177 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.36e-05/0.3576, allocations: 17.14 kB / 0.5178 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3577, allocations: 8.172 kB / 0.5178 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.719e-05/0.3577, allocations: 10.69 kB / 0.5178 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.3577, allocations: 6.875 kB / 0.5178 GB, free: 33.92 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 6.913e-05/0.3578, allocations: 119.3 kB / 0.5179 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.757e-05/0.3578, allocations: 13.41 kB / 0.5179 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.188e-05/0.3579, allocations: 18.17 kB / 0.5179 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3579, allocations: 0 / 0.5179 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3579, allocations: 384 / 0.5179 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3579, allocations: 3.938 kB / 0.5179 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.3582, allocations: 393.5 kB / 0.5183 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3582, allocations: 6.562 kB / 0.5183 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.035e-05/0.3583, allocations: 9.656 kB / 0.5183 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3583, allocations: 2.781 kB / 0.5183 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3583, allocations: 7.125 kB / 0.5183 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3583, allocations: 3.031 kB / 0.5183 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3583, allocations: 0 / 0.5183 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.3585, allocations: 197 kB / 0.5185 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.3586, allocations: 94.19 kB / 0.5186 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.3586, allocations: 11.88 kB / 0.5186 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.816e-05/0.3587, allocations: 5.656 kB / 0.5186 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.3587, allocations: 4.281 kB / 0.5186 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.3587, allocations: 2.125 kB / 0.5186 GB, free: 33.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.719e-05/0.3588, allocations: 159 kB / 0.5188 GB, free: 33.03 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3588, allocations: 0 / 0.5188 GB, free: 33.03 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002279/0.359, allocations: 21.72 kB / 0.5188 GB, free: 33.03 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.0009789/0.36, allocations: 0.5248 MB / 0.5193 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001685/0.3602, allocations: 56.81 kB / 0.5194 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3602, allocations: 1 kB / 0.5194 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.931e-05/0.3603, allocations: 28 kB / 0.5194 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.3606, allocations: 31.53 kB / 0.5194 GB, free: 32.69 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004095/0.361, allocations: 245.8 kB / 0.5197 GB, free: 32.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.3612, allocations: 0.7032 MB / 0.5203 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.274e-05/0.3613, allocations: 17.88 kB / 0.5204 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.639e-05/0.3613, allocations: 17.67 kB / 0.5204 GB, free: 31.79 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.3613, allocations: 1.031 kB / 0.5204 GB, free: 31.79 MB / 378.7 MB Notification: Performance of Templates: time 0.004045/0.3654, allocations: 1.623 MB / 0.522 GB, free: 31.59 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches