Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009542/0.000954, allocations: 175 kB / 17.41 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.388/1.388, 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.0007369/0.000737, allocations: 92.81 kB / 295 MB, free: 9.746 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.3285/0.3285, allocations: 44.33 MB / 390.5 MB, free: 38.3 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003795/0.0003797, allocations: 8 kB / 463.1 MB, free: 496 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3475, allocations: 61.9 MB / 0.5127 GB, free: 38.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.001743/0.3493, allocations: 1.335 MB / 0.514 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006954/0.35, allocations: 476.9 kB / 0.5145 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.134e-05/0.35, allocations: 0 / 0.5145 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002328/0.3503, allocations: 51.8 kB / 0.5146 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001411/0.3504, allocations: 49.67 kB / 0.5146 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.3507, allocations: 122.9 kB / 0.5147 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.3509, allocations: 71.22 kB / 0.5148 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.821e-05/0.351, allocations: 13.22 kB / 0.5148 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.174e-05/0.3511, allocations: 33.14 kB / 0.5148 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.707e-05/0.3511, allocations: 40.03 kB / 0.5149 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.3512, allocations: 6.938 kB / 0.5149 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.427e-05/0.3513, allocations: 43.22 kB / 0.5149 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.051e-05/0.3514, allocations: 23.39 kB / 0.5149 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.799e-05/0.3514, allocations: 55.45 kB / 0.515 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.3516, allocations: 96.95 kB / 0.5151 GB, free: 36.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3516, allocations: 0 / 0.5151 GB, free: 36.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.3516, allocations: 3 kB / 0.5151 GB, free: 36.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.3516, allocations: 0 / 0.5151 GB, free: 36.48 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004571/0.3521, allocations: 401.8 kB / 0.5155 GB, free: 36.08 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.3521, allocations: 9 kB / 0.5155 GB, free: 36.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.3522, allocations: 14.66 kB / 0.5155 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.3524, allocations: 191.6 kB / 0.5157 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.3524, allocations: 384 / 0.5157 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.3524, allocations: 14.81 kB / 0.5157 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.3526, allocations: 65.42 kB / 0.5158 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.3526, allocations: 4 kB / 0.5158 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.3526, allocations: 0 / 0.5158 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3526, allocations: 2.938 kB / 0.5158 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.3528, allocations: 48.05 kB / 0.5158 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.3531, allocations: 300.9 kB / 0.5161 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.3533, allocations: 67.23 kB / 0.5162 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.282e-05/0.3534, allocations: 27.12 kB / 0.5162 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.3535, allocations: 4 kB / 0.5162 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.48e-05/0.3535, allocations: 37.94 kB / 0.5162 GB, free: 35.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.3535, allocations: 0 / 0.5162 GB, free: 35.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001303/0.3548, allocations: 468.8 kB / 0.5167 GB, free: 35.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.3548, allocations: 53.09 kB / 0.5167 GB, free: 35.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.355, allocations: 180.4 kB / 0.5169 GB, free: 35.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.719e-06/0.355, allocations: 26.61 kB / 0.5169 GB, free: 35.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/0.355, allocations: 99.08 kB / 0.517 GB, free: 34.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.3551, allocations: 39.62 kB / 0.517 GB, free: 34.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/0.3551, allocations: 4 kB / 0.5171 GB, free: 34.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.017e-05/0.3551, allocations: 326.2 kB / 0.5174 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.3553, allocations: 46.44 kB / 0.5174 GB, free: 34.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.3554, allocations: 53.03 kB / 0.5175 GB, free: 34.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.3556, allocations: 121.1 kB / 0.5176 GB, free: 34.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.3556, allocations: 3.938 kB / 0.5176 GB, free: 34.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000259/0.3559, allocations: 157.5 kB / 0.5177 GB, free: 34.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3559, allocations: 9.562 kB / 0.5177 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3559, allocations: 0 / 0.5177 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.3559, allocations: 0 / 0.5177 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.356, allocations: 34.92 kB / 0.5178 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3561, allocations: 0 / 0.5178 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.545e-05/0.3561, allocations: 13.45 kB / 0.5178 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.3561, allocations: 7 kB / 0.5178 GB, free: 34.46 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 (11): * Single equations (assignments): 11 * 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.523e-05/0.3562, allocations: 126.7 kB / 0.5179 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.3562, allocations: 17.66 kB / 0.5179 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003256/0.3566, allocations: 177.1 kB / 0.5181 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.3566, allocations: 1.438 kB / 0.5181 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.3566, allocations: 0 / 0.5181 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3566, allocations: 3.281 kB / 0.5181 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005245/0.3571, allocations: 483.5 kB / 0.5186 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3571, allocations: 1.125 kB / 0.5186 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.3572, allocations: 35.47 kB / 0.5186 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.3573, allocations: 0.9688 kB / 0.5186 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.3573, allocations: 5.375 kB / 0.5186 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3573, allocations: 2 kB / 0.5186 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3573, allocations: 0.9688 kB / 0.5186 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003356/0.3576, allocations: 270 kB / 0.5189 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.823e-05/0.3577, allocations: 87.58 kB / 0.5189 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.3577, allocations: 6.062 kB / 0.519 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.377e-05/0.3578, allocations: 17.47 kB / 0.519 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.3578, allocations: 11.73 kB / 0.519 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.3579, allocations: 11.91 kB / 0.519 GB, free: 33.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.141e-05/0.3579, allocations: 141.2 kB / 0.5191 GB, free: 33.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.358, allocations: 0 / 0.5191 GB, free: 33.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002394/0.3582, allocations: 25.22 kB / 0.5191 GB, free: 33.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009887/0.3592, allocations: 0.5207 MB / 0.5197 GB, free: 33.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003129/0.3595, allocations: 131.8 kB / 0.5198 GB, free: 33.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3595, allocations: 96 / 0.5198 GB, free: 33.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.3597, allocations: 71.64 kB / 0.5199 GB, free: 33.08 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.36, allocations: 15.94 kB / 0.5199 GB, free: 33.08 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004273/0.3604, allocations: 304 kB / 0.5202 GB, free: 32.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.3606, allocations: 0.7122 MB / 0.5209 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.353e-05/0.3607, allocations: 16.95 kB / 0.5209 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.3607, allocations: 16.52 kB / 0.5209 GB, free: 32.14 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3607, allocations: 0 / 0.5209 GB, free: 32.14 MB / 378.7 MB Notification: Performance of Templates: time 0.003534/0.3642, allocations: 1.415 MB / 0.5223 GB, free: 31.98 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches