Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001162, allocations: 178.4 kB / 17.41 MB, free: 4.293 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.278/1.278, allocations: 225.7 MB / 243.9 MB, free: 8.473 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.0007621/0.0007624, allocations: 90.5 kB / 295.1 MB, free: 9.512 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.3736/0.3736, allocations: 44.32 MB / 390.5 MB, free: 38.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004578/0.0004578, allocations: 8 kB / 463.1 MB, free: 492 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3607, allocations: 61.9 MB / 0.5127 GB, free: 37.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.00184/0.3626, allocations: 1.289 MB / 0.514 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008209/0.3635, allocations: 484.6 kB / 0.5145 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.685e-05/0.3635, allocations: 0 / 0.5145 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005848/0.3641, allocations: 452.1 kB / 0.5149 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003459/0.3645, allocations: 248.8 kB / 0.5151 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004788/0.365, allocations: 160.3 kB / 0.5153 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00021/0.3652, allocations: 154.1 kB / 0.5154 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.708e-05/0.3653, allocations: 6.125 kB / 0.5154 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.3654, allocations: 110.7 kB / 0.5155 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002526/0.3657, allocations: 198.2 kB / 0.5157 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.3657, allocations: 0 / 0.5157 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.667e-05/0.3658, allocations: 25.16 kB / 0.5158 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.3659, allocations: 82.81 kB / 0.5158 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.299e-05/0.366, allocations: 122.1 kB / 0.5159 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.3664, allocations: 230.9 kB / 0.5162 GB, free: 36.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3664, allocations: 3.75 kB / 0.5162 GB, free: 36.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3664, allocations: 0 / 0.5162 GB, free: 36.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.3664, allocations: 0 / 0.5162 GB, free: 36.26 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006678/0.3671, allocations: 0.5964 MB / 0.5168 GB, free: 35.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.3671, allocations: 8.312 kB / 0.5168 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.888e-05/0.3672, allocations: 39.12 kB / 0.5168 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.3675, allocations: 295.3 kB / 0.5171 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.3675, allocations: 1.594 kB / 0.5171 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.3675, allocations: 1.688 kB / 0.5171 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.3677, allocations: 77.36 kB / 0.5172 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.3677, allocations: 1.062 kB / 0.5172 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.3678, allocations: 0 / 0.5172 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.3678, allocations: 1.062 kB / 0.5172 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.368, allocations: 42 kB / 0.5172 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005535/0.3685, allocations: 393.5 kB / 0.5176 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.3687, allocations: 48.73 kB / 0.5176 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.3688, allocations: 31.81 kB / 0.5177 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.3689, allocations: 1.859 kB / 0.5177 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.358e-05/0.3689, allocations: 31.66 kB / 0.5177 GB, free: 34.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.3689, allocations: 0 / 0.5177 GB, free: 34.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004526/0.3693, allocations: 146.9 kB / 0.5178 GB, free: 34.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.019e-05/0.3694, allocations: 52.02 kB / 0.5179 GB, free: 34.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.3704, allocations: 0.8534 MB / 0.5187 GB, free: 34.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.3705, allocations: 25.7 kB / 0.5187 GB, free: 34.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.3706, allocations: 211.6 kB / 0.5189 GB, free: 34.31 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.3707, allocations: 10.91 kB / 0.5189 GB, free: 34.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.3707, allocations: 4 kB / 0.5189 GB, free: 34.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.403e-05/0.3708, allocations: 364.1 kB / 0.5193 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.817e-05/0.3709, allocations: 22.25 kB / 0.5193 GB, free: 33.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.27e-05/0.371, allocations: 18.08 kB / 0.5193 GB, free: 33.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.3712, allocations: 55.42 kB / 0.5194 GB, free: 33.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3712, allocations: 6.938 kB / 0.5194 GB, free: 33.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002529/0.3714, allocations: 110.6 kB / 0.5195 GB, free: 33.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3715, allocations: 6.219 kB / 0.5195 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3715, allocations: 4 kB / 0.5195 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.3715, allocations: 0 / 0.5195 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.175e-05/0.3716, allocations: 11.88 kB / 0.5195 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3716, allocations: 0 / 0.5195 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.175e-05/0.3717, allocations: 6.031 kB / 0.5195 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.3717, allocations: 0 / 0.5195 GB, free: 33.87 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 (3): * Single equations (assignments): 3 * 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 0.0001894/0.3719, allocations: 219.8 kB / 0.5197 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.78e-05/0.372, allocations: 41.19 kB / 0.5198 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003149/0.3723, allocations: 139.1 kB / 0.5199 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.3723, allocations: 0 / 0.5199 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.3723, allocations: 3.422 kB / 0.5199 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3724, allocations: 8.25 kB / 0.5199 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003392/0.3727, allocations: 287.2 kB / 0.5202 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.3727, allocations: 3.422 kB / 0.5202 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.236e-05/0.3728, allocations: 12.84 kB / 0.5202 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3728, allocations: 0 / 0.5202 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.3729, allocations: 4 kB / 0.5202 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3729, allocations: 0 / 0.5202 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3729, allocations: 7.016 kB / 0.5202 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.3732, allocations: 226.2 kB / 0.5204 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.3733, allocations: 105.6 kB / 0.5205 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.3733, allocations: 0 / 0.5205 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.3735, allocations: 9.328 kB / 0.5205 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.3735, allocations: 0 / 0.5205 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.3735, allocations: 6.109 kB / 0.5205 GB, free: 33.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007633/0.3743, allocations: 0.6409 MB / 0.5212 GB, free: 32.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.3743, allocations: 4 kB / 0.5212 GB, free: 32.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004212/0.3747, allocations: 25.84 kB / 0.5212 GB, free: 32.84 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 (3): * Single equations (assignments): 3 * 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.001084/0.3758, allocations: 404.3 kB / 0.5216 GB, free: 32.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002634/0.3761, allocations: 49.64 kB / 0.5216 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3761, allocations: 2.875 kB / 0.5216 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.3763, allocations: 30.36 kB / 0.5217 GB, free: 32.58 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005508/0.3768, allocations: 30.75 kB / 0.5217 GB, free: 32.56 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.3782, allocations: 0.8567 MB / 0.5225 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.3785, allocations: 0.8202 MB / 0.5233 GB, free: 31.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.352e-05/0.3786, allocations: 9.312 kB / 0.5233 GB, free: 31.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.352e-05/0.3786, allocations: 10.44 kB / 0.5234 GB, free: 31.42 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.3787, allocations: 0 / 0.5234 GB, free: 31.42 MB / 378.7 MB Notification: Performance of Templates: time 0.005188/0.3839, allocations: 1.218 MB / 0.5245 GB, free: 31.25 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches