Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,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.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 176.2 kB / 17.41 MB, free: 4.414 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.423/1.423, allocations: 225.7 MB / 243.9 MB, free: 8.457 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.0008037/0.0008037, allocations: 101.2 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.3807/0.3807, allocations: 44.32 MB / 390.5 MB, free: 38.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003375, allocations: 16 kB / 463.1 MB, free: 452 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.35, allocations: 61.9 MB / 0.5127 GB, free: 37.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.001958/0.352, allocations: 1.403 MB / 0.5141 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.3533, allocations: 0.8925 MB / 0.515 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.721e-05/0.3534, allocations: 3.938 kB / 0.515 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.3537, allocations: 34.58 kB / 0.515 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.3539, allocations: 47.97 kB / 0.5151 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.3542, allocations: 94.2 kB / 0.5152 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.3543, allocations: 96.33 kB / 0.5152 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.3544, allocations: 10.23 kB / 0.5153 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.184e-05/0.3545, allocations: 36.66 kB / 0.5153 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.821e-05/0.3546, allocations: 34.97 kB / 0.5153 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.3546, allocations: 2.969 kB / 0.5153 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.153e-05/0.3547, allocations: 34.17 kB / 0.5154 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.753e-05/0.3548, allocations: 23.98 kB / 0.5154 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.696e-05/0.3549, allocations: 55.45 kB / 0.5154 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.3551, allocations: 112.9 kB / 0.5155 GB, free: 36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.3551, allocations: 0 / 0.5155 GB, free: 36 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.3551, allocations: 0 / 0.5155 GB, free: 36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.3551, 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.0005041/0.3556, allocations: 396.4 kB / 0.5159 GB, free: 35.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3557, allocations: 8.781 kB / 0.5159 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.3557, allocations: 14.12 kB / 0.5159 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.3559, allocations: 201.9 kB / 0.5161 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.3559, allocations: 384 / 0.5161 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.3559, allocations: 15.06 kB / 0.5162 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.3561, allocations: 52.11 kB / 0.5162 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3561, allocations: 0 / 0.5162 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.3561, allocations: 4 kB / 0.5162 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3561, allocations: 2.969 kB / 0.5162 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.425e-05/0.3562, allocations: 20.05 kB / 0.5162 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002907/0.3565, allocations: 292.3 kB / 0.5165 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.3567, allocations: 56.44 kB / 0.5166 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.679e-05/0.3567, allocations: 21.86 kB / 0.5166 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.3567, allocations: 3.047 kB / 0.5166 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.3569, allocations: 69.44 kB / 0.5167 GB, free: 34.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.3569, allocations: 3.938 kB / 0.5167 GB, free: 34.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004886/0.3574, allocations: 181.1 kB / 0.5168 GB, free: 34.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.3575, allocations: 51.41 kB / 0.5169 GB, free: 34.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.3576, allocations: 183 kB / 0.5171 GB, free: 34.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.3576, allocations: 26.86 kB / 0.5171 GB, free: 34.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.3577, allocations: 100.4 kB / 0.5172 GB, free: 34.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.3577, allocations: 26.75 kB / 0.5172 GB, free: 34.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.3577, allocations: 5 kB / 0.5172 GB, free: 34.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.197e-05/0.3578, allocations: 325.8 kB / 0.5175 GB, free: 34.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.661e-05/0.3579, allocations: 20.95 kB / 0.5175 GB, free: 34.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.679e-05/0.358, allocations: 39 kB / 0.5176 GB, free: 34.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.3581, allocations: 61.27 kB / 0.5176 GB, free: 34.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3581, allocations: 1 kB / 0.5176 GB, free: 34.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001759/0.3583, allocations: 97.84 kB / 0.5177 GB, free: 34.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3583, allocations: 4.969 kB / 0.5177 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3583, allocations: 8.484 kB / 0.5177 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3583, allocations: 1.062 kB / 0.5177 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.382e-05/0.3584, allocations: 17.31 kB / 0.5178 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.3584, allocations: 1.062 kB / 0.5178 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.529e-05/0.3585, allocations: 9.25 kB / 0.5178 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.3585, allocations: 3.469 kB / 0.5178 GB, free: 34.03 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 8.435e-05/0.3586, allocations: 122.8 kB / 0.5179 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.3586, allocations: 16.33 kB / 0.5179 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.782e-05/0.3587, allocations: 17.5 kB / 0.5179 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3587, allocations: 1.094 kB / 0.5179 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3587, allocations: 0.7188 kB / 0.5179 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.3587, allocations: 3.938 kB / 0.5179 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003821/0.3591, allocations: 390.9 kB / 0.5183 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3591, allocations: 0 / 0.5183 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.174e-05/0.3591, allocations: 13.06 kB / 0.5183 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3591, allocations: 384 / 0.5183 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.3592, allocations: 14.5 kB / 0.5183 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3592, allocations: 4.078 kB / 0.5183 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3592, allocations: 3.984 kB / 0.5183 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.3594, allocations: 195.4 kB / 0.5185 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.344e-05/0.3594, allocations: 90.14 kB / 0.5186 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.3594, allocations: 11.53 kB / 0.5186 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.883e-05/0.3595, allocations: 12.48 kB / 0.5186 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.3595, allocations: 5 kB / 0.5186 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.3596, allocations: 3.812 kB / 0.5186 GB, free: 33.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.26e-05/0.3597, allocations: 146 kB / 0.5188 GB, free: 33.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3597, allocations: 0 / 0.5188 GB, free: 33.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002325/0.3599, allocations: 19.56 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.0009774/0.3609, allocations: 0.5279 MB / 0.5193 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001621/0.3611, allocations: 53.62 kB / 0.5194 GB, free: 32.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3611, allocations: 0 / 0.5194 GB, free: 32.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.615e-05/0.3611, allocations: 38.88 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.0003123/0.3615, allocations: 24.56 kB / 0.5194 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004501/0.3619, allocations: 240.6 kB / 0.5196 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.3621, allocations: 0.7099 MB / 0.5203 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.744e-05/0.3622, allocations: 12.67 kB / 0.5204 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.3622, allocations: 16.75 kB / 0.5204 GB, free: 31.89 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3622, allocations: 0 / 0.5204 GB, free: 31.89 MB / 378.7 MB Notification: Performance of Templates: time 0.004359/0.3666, allocations: 1.625 MB / 0.522 GB, free: 31.7 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches