Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 178.3 kB / 17.41 MB, free: 4.281 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.641/1.641, allocations: 225.7 MB / 243.9 MB, free: 8.477 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.0007732/0.0007735, allocations: 97.52 kB / 295.1 MB, free: 9.5 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.3161/0.3161, allocations: 44.31 MB / 390.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003052/0.0003055, allocations: 8 kB / 463.2 MB, free: 480 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.353, allocations: 61.89 MB / 0.5127 GB, free: 37.87 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.001789/0.3548, allocations: 1.403 MB / 0.5141 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.356, allocations: 0.8964 MB / 0.515 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.436e-05/0.356, allocations: 6.969 kB / 0.515 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.3563, allocations: 25.98 kB / 0.515 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.3565, allocations: 52.39 kB / 0.5151 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.3568, allocations: 94.05 kB / 0.5152 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.357, allocations: 91.58 kB / 0.5152 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.3571, allocations: 17.94 kB / 0.5153 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.913e-05/0.3572, allocations: 39.53 kB / 0.5153 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.481e-05/0.3573, allocations: 25.92 kB / 0.5153 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.3573, allocations: 2.688 kB / 0.5153 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.3574, allocations: 37.94 kB / 0.5154 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.625e-05/0.3575, allocations: 19.36 kB / 0.5154 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.677e-05/0.3575, allocations: 60.69 kB / 0.5154 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.3577, allocations: 105.9 kB / 0.5155 GB, free: 35.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3577, allocations: 3.938 kB / 0.5155 GB, free: 35.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3577, allocations: 4 kB / 0.5155 GB, free: 35.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.3577, 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.0005013/0.3582, allocations: 394.7 kB / 0.5159 GB, free: 35.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3583, allocations: 8.438 kB / 0.5159 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.102e-05/0.3583, allocations: 10.09 kB / 0.5159 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.3586, allocations: 211 kB / 0.5161 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.3586, allocations: 4.375 kB / 0.5161 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.3586, allocations: 7.094 kB / 0.5162 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.3588, allocations: 59.16 kB / 0.5162 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.3588, allocations: 0 / 0.5162 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.3588, allocations: 4 kB / 0.5162 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.3588, allocations: 0 / 0.5162 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.713e-05/0.3589, allocations: 18.2 kB / 0.5162 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.3593, allocations: 285.6 kB / 0.5165 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.3595, allocations: 63.33 kB / 0.5166 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.968e-05/0.3596, allocations: 21.58 kB / 0.5166 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.3596, allocations: 3.031 kB / 0.5166 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/0.3598, allocations: 64.25 kB / 0.5166 GB, free: 34.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.166e-06/0.3598, allocations: 0 / 0.5166 GB, free: 34.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000558/0.3604, allocations: 178.6 kB / 0.5168 GB, free: 34.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.3604, allocations: 51.41 kB / 0.5169 GB, free: 34.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.3606, allocations: 186.2 kB / 0.517 GB, free: 34.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.3606, allocations: 28.33 kB / 0.5171 GB, free: 34.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.698e-05/0.3606, allocations: 100.5 kB / 0.5172 GB, free: 34.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.3607, allocations: 26.33 kB / 0.5172 GB, free: 34.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-06/0.3607, allocations: 7.938 kB / 0.5172 GB, free: 34.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.02e-05/0.3608, allocations: 331.2 kB / 0.5175 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.011e-05/0.3608, allocations: 20.53 kB / 0.5175 GB, free: 34.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.514e-05/0.3609, allocations: 37.34 kB / 0.5176 GB, free: 34.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.514e-05/0.361, allocations: 52.31 kB / 0.5176 GB, free: 34.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.361, allocations: 0 / 0.5176 GB, free: 34.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001537/0.3612, allocations: 101.5 kB / 0.5177 GB, free: 33.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3612, allocations: 6.094 kB / 0.5177 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3612, allocations: 0 / 0.5177 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.3612, allocations: 4.031 kB / 0.5177 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.938e-05/0.3613, allocations: 18.23 kB / 0.5177 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3613, allocations: 3.938 kB / 0.5178 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.584e-05/0.3614, allocations: 10.84 kB / 0.5178 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.3614, allocations: 6.297 kB / 0.5178 GB, free: 33.94 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.642e-05/0.3615, allocations: 123.2 kB / 0.5179 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/0.3615, allocations: 13.78 kB / 0.5179 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.164e-05/0.3616, allocations: 14.78 kB / 0.5179 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3616, allocations: 7.031 kB / 0.5179 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3616, allocations: 0 / 0.5179 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3616, allocations: 7.922 kB / 0.5179 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000377/0.362, allocations: 389.9 kB / 0.5183 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.362, allocations: 0 / 0.5183 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.301e-05/0.362, allocations: 8.438 kB / 0.5183 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.362, allocations: 0.9688 kB / 0.5183 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.362, allocations: 8.484 kB / 0.5183 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.362, allocations: 5.234 kB / 0.5183 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.3621, allocations: 8.953 kB / 0.5183 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.3623, allocations: 198.4 kB / 0.5185 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.82e-05/0.3623, allocations: 91.7 kB / 0.5186 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.3623, allocations: 9.344 kB / 0.5186 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.956e-05/0.3624, allocations: 6.562 kB / 0.5186 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.3625, allocations: 11.03 kB / 0.5186 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.3625, allocations: 2.625 kB / 0.5186 GB, free: 33.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001293/0.3626, allocations: 146.9 kB / 0.5188 GB, free: 33.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3626, allocations: 0 / 0.5188 GB, free: 33.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002354/0.3629, allocations: 21.38 kB / 0.5188 GB, free: 33.04 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.00112/0.364, allocations: 0.5221 MB / 0.5193 GB, free: 32.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001856/0.3642, allocations: 60.61 kB / 0.5194 GB, free: 32.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3642, allocations: 0 / 0.5194 GB, free: 32.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.254e-05/0.3643, allocations: 32.14 kB / 0.5194 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.3646, allocations: 27.52 kB / 0.5194 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004681/0.3651, allocations: 244.2 kB / 0.5197 GB, free: 32.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.3653, allocations: 0.7051 MB / 0.5203 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.537e-05/0.3654, allocations: 12.89 kB / 0.5204 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.997e-05/0.3654, allocations: 16.23 kB / 0.5204 GB, free: 31.8 MB / 378.7 MB Notification: Performance of SimCode: time 3.4e-07/0.3654, allocations: 0 / 0.5204 GB, free: 31.8 MB / 378.7 MB Notification: Performance of Templates: time 0.004575/0.37, allocations: 1.634 MB / 0.522 GB, free: 31.61 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches