Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 174 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.342/1.342, allocations: 225.7 MB / 243.9 MB, free: 8.445 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.0007527/0.0007527, allocations: 88.39 kB / 295 MB, free: 9.477 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.3331/0.3331, allocations: 44.31 MB / 390.5 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003702, allocations: 8 kB / 463.1 MB, free: 464 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3668, allocations: 61.9 MB / 0.5127 GB, free: 37.92 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.001636/0.3685, allocations: 1.322 MB / 0.514 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.3696, allocations: 1.141 MB / 0.5151 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.93e-05/0.3697, allocations: 4 kB / 0.5151 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.3699, allocations: 25.3 kB / 0.5152 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001545/0.37, allocations: 34.41 kB / 0.5152 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.3703, allocations: 115.6 kB / 0.5153 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.3704, allocations: 53.58 kB / 0.5154 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.391e-05/0.3705, allocations: 20.41 kB / 0.5154 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.62e-05/0.3706, allocations: 24.05 kB / 0.5154 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.3707, allocations: 26.42 kB / 0.5154 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.3707, allocations: 2.375 kB / 0.5154 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.743e-05/0.3708, allocations: 42.36 kB / 0.5155 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.185e-05/0.3709, allocations: 14.3 kB / 0.5155 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.5e-05/0.3709, allocations: 47.2 kB / 0.5155 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.3711, allocations: 86.81 kB / 0.5156 GB, free: 35.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.3711, allocations: 3.312 kB / 0.5156 GB, free: 35.83 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3711, allocations: 4 kB / 0.5156 GB, free: 35.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.3711, allocations: 0 / 0.5156 GB, free: 35.82 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003767/0.3715, allocations: 381.3 kB / 0.516 GB, free: 35.44 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.3715, allocations: 8.469 kB / 0.516 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.3716, allocations: 7.562 kB / 0.516 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.3717, allocations: 187.7 kB / 0.5162 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.3717, allocations: 384 / 0.5162 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.3718, allocations: 10.91 kB / 0.5162 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.3719, allocations: 80.33 kB / 0.5163 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.372, allocations: 7.312 kB / 0.5163 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.372, allocations: 0 / 0.5163 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.372, allocations: 3 kB / 0.5163 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.3721, allocations: 40.66 kB / 0.5163 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003089/0.3724, allocations: 286.2 kB / 0.5166 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.3725, allocations: 52.19 kB / 0.5166 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.517e-05/0.3726, allocations: 31.31 kB / 0.5167 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.3726, allocations: 3.625 kB / 0.5167 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.3727, allocations: 34.56 kB / 0.5167 GB, free: 34.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3727, allocations: 0 / 0.5167 GB, free: 34.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007333/0.3734, allocations: 236 kB / 0.5169 GB, free: 34.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.3735, allocations: 82.95 kB / 0.517 GB, free: 34.58 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.3736, allocations: 135 kB / 0.5171 GB, free: 34.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.3736, allocations: 30.7 kB / 0.5172 GB, free: 34.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.3736, allocations: 96.62 kB / 0.5173 GB, free: 34.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.3737, allocations: 21.03 kB / 0.5173 GB, free: 34.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-06/0.3737, allocations: 0 / 0.5173 GB, free: 34.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.547e-05/0.3737, allocations: 323 kB / 0.5176 GB, free: 34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.3738, allocations: 37.62 kB / 0.5176 GB, free: 34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.3739, allocations: 63.22 kB / 0.5177 GB, free: 33.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.3741, allocations: 91.73 kB / 0.5178 GB, free: 33.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.12e-07/0.3741, allocations: 0 / 0.5178 GB, free: 33.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002279/0.3744, allocations: 134 kB / 0.5179 GB, free: 33.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.3744, allocations: 2.875 kB / 0.5179 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3744, allocations: 2.562 kB / 0.5179 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.3744, allocations: 0 / 0.5179 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.3745, allocations: 20.69 kB / 0.5179 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3746, allocations: 3.375 kB / 0.5179 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.53e-05/0.3746, allocations: 22.52 kB / 0.5179 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.3746, allocations: 2.625 kB / 0.5179 GB, free: 33.88 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.121e-05/0.3747, allocations: 116.9 kB / 0.5181 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.3747, allocations: 9.812 kB / 0.5181 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002841/0.375, allocations: 140.1 kB / 0.5182 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.375, allocations: 0 / 0.5182 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.375, allocations: 3.938 kB / 0.5182 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.375, allocations: 3.938 kB / 0.5182 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004045/0.3755, allocations: 405.5 kB / 0.5186 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3755, allocations: 0 / 0.5186 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.251e-05/0.3756, allocations: 25.09 kB / 0.5186 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3756, allocations: 1.469 kB / 0.5186 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.3756, allocations: 7.359 kB / 0.5186 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3756, allocations: 1.594 kB / 0.5186 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3756, allocations: 0 / 0.5186 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.3759, allocations: 228.1 kB / 0.5189 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.142e-05/0.3759, allocations: 84.14 kB / 0.5189 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.3759, allocations: 3.938 kB / 0.5189 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.502e-05/0.376, allocations: 17.47 kB / 0.519 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.3761, allocations: 14.44 kB / 0.519 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.3761, allocations: 2.375 kB / 0.519 GB, free: 33.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.911e-05/0.3762, allocations: 112.3 kB / 0.5191 GB, free: 32.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3762, allocations: 0 / 0.5191 GB, free: 32.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002438/0.3764, allocations: 21.06 kB / 0.5191 GB, free: 32.96 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0009578/0.3774, allocations: 0.5099 MB / 0.5196 GB, free: 32.67 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000295/0.3777, allocations: 96.89 kB / 0.5197 GB, free: 32.65 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3777, allocations: 0 / 0.5197 GB, free: 32.65 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.3778, allocations: 52.41 kB / 0.5197 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.3781, allocations: 13.84 kB / 0.5197 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003595/0.3785, allocations: 205.5 kB / 0.5199 GB, free: 32.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.3787, allocations: 0.6969 MB / 0.5206 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.561e-05/0.3787, allocations: 17.58 kB / 0.5206 GB, free: 31.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.3788, allocations: 17.28 kB / 0.5207 GB, free: 31.75 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3788, allocations: 0 / 0.5207 GB, free: 31.75 MB / 378.7 MB Notification: Performance of Templates: time 0.003515/0.3823, allocations: 1.402 MB / 0.522 GB, free: 31.59 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches