Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 174.2 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.461/1.461, allocations: 225.7 MB / 243.9 MB, free: 8.453 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.0008687/0.0008687, allocations: 88.36 kB / 295 MB, free: 9.496 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.3383/0.3383, allocations: 44.32 MB / 390.5 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.0003241, allocations: 16 kB / 463.1 MB, free: 480 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3725, allocations: 61.89 MB / 0.5127 GB, free: 38.09 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.001718/0.3743, allocations: 1.324 MB / 0.514 GB, free: 37.15 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007319/0.375, allocations: 0.8168 MB / 0.5148 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.917e-05/0.3751, allocations: 0 / 0.5148 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002222/0.3753, allocations: 25.14 kB / 0.5148 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.3755, allocations: 43.47 kB / 0.5149 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.797e-06/0.3755, allocations: 0 / 0.5149 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.3756, allocations: 50.61 kB / 0.5149 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.975e-05/0.3757, allocations: 10.89 kB / 0.5149 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.585e-05/0.3757, allocations: 9.219 kB / 0.515 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.328e-05/0.3758, allocations: 19.64 kB / 0.515 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.448e-06/0.3758, allocations: 0 / 0.515 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.738e-05/0.3759, allocations: 13.38 kB / 0.515 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.263e-05/0.3759, allocations: 19.64 kB / 0.515 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.509e-05/0.376, allocations: 47.33 kB / 0.5151 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.3761, allocations: 59.86 kB / 0.5151 GB, free: 36.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3761, allocations: 3.938 kB / 0.5151 GB, free: 36.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3761, allocations: 0 / 0.5151 GB, free: 36.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.3761, allocations: 4 kB / 0.5151 GB, free: 36.33 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002661/0.3764, allocations: 354.3 kB / 0.5155 GB, free: 35.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.3764, allocations: 9.656 kB / 0.5155 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.3765, allocations: 7.969 kB / 0.5155 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.3766, allocations: 175.3 kB / 0.5156 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.3766, allocations: 384 / 0.5156 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.3766, allocations: 3.281 kB / 0.5156 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.3768, allocations: 126.8 kB / 0.5158 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.3768, allocations: 4.125 kB / 0.5158 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.3768, allocations: 7.922 kB / 0.5158 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.755e-05/0.3768, allocations: 24.81 kB / 0.5158 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.279e-05/0.3769, allocations: 45.8 kB / 0.5158 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.3773, allocations: 0.8919 MB / 0.5167 GB, free: 34.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.617e-05/0.3774, allocations: 172.2 kB / 0.5169 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.927e-05/0.3774, allocations: 88.14 kB / 0.517 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.3774, allocations: 79.22 kB / 0.517 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.3775, allocations: 105.8 kB / 0.5171 GB, free: 34.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.3775, allocations: 0 / 0.5171 GB, free: 34.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 6.155e-05/0.3775, allocations: 38.73 kB / 0.5172 GB, free: 34.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.3776, allocations: 126.7 kB / 0.5173 GB, free: 34.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.3777, allocations: 188.3 kB / 0.5175 GB, free: 33.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.143e-06/0.3777, allocations: 26.27 kB / 0.5175 GB, free: 33.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.452e-05/0.3778, allocations: 150.4 kB / 0.5176 GB, free: 33.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.191e-06/0.3778, allocations: 4.266 kB / 0.5176 GB, free: 33.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.3778, allocations: 7.938 kB / 0.5177 GB, free: 33.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.247e-05/0.3779, allocations: 320.5 kB / 0.518 GB, free: 33.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.231e-05/0.3779, allocations: 26.88 kB / 0.518 GB, free: 33.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.826e-05/0.378, allocations: 157.9 kB / 0.5181 GB, free: 33.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.3782, allocations: 202.8 kB / 0.5183 GB, free: 33.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3782, allocations: 5.031 kB / 0.5183 GB, free: 33.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002673/0.3785, allocations: 193.5 kB / 0.5185 GB, free: 32.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3785, allocations: 12.25 kB / 0.5185 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.3785, allocations: 6.938 kB / 0.5185 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3785, allocations: 6.031 kB / 0.5185 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.3786, allocations: 41.2 kB / 0.5186 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.3787, allocations: 9.531 kB / 0.5186 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.346e-05/0.3787, allocations: 17 kB / 0.5186 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.3788, allocations: 16.94 kB / 0.5186 GB, free: 32.95 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.046e-05/0.3788, allocations: 215.2 kB / 0.5188 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.3789, allocations: 115 kB / 0.5189 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.229e-05/0.3789, allocations: 118.8 kB / 0.5191 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.21e-05/0.379, allocations: 179.5 kB / 0.5192 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.213e-05/0.379, allocations: 183.2 kB / 0.5194 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-05/0.379, allocations: 180.2 kB / 0.5196 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.3792, allocations: 419.6 kB / 0.52 GB, free: 31.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/0.3792, allocations: 108.9 kB / 0.5201 GB, free: 31.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.426e-05/0.3792, allocations: 107.1 kB / 0.5202 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.409e-05/0.3793, allocations: 176.3 kB / 0.5203 GB, free: 31.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.3793, allocations: 192.2 kB / 0.5205 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.278e-05/0.3793, allocations: 182.6 kB / 0.5207 GB, free: 30.74 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.409e-05/0.3793, allocations: 180.2 kB / 0.5209 GB, free: 30.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.601e-05/0.3794, allocations: 309 kB / 0.5212 GB, free: 30.24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.966e-05/0.3795, allocations: 200.1 kB / 0.5214 GB, free: 30.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/0.3795, allocations: 183.4 kB / 0.5215 GB, free: 29.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.597e-05/0.3796, allocations: 104.9 kB / 0.5216 GB, free: 29.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.3796, allocations: 176.3 kB / 0.5218 GB, free: 29.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.3796, allocations: 104 kB / 0.5219 GB, free: 29.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.026e-05/0.3797, allocations: 136.6 kB / 0.522 GB, free: 29.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3797, allocations: 0 / 0.522 GB, free: 29.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002401/0.3799, allocations: 15.38 kB / 0.522 GB, free: 29.35 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 (0): * Single equations (assignments): 0 * 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.0004488/0.3804, allocations: 305 kB / 0.5223 GB, free: 29.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001302/0.3805, allocations: 75.94 kB / 0.5224 GB, free: 29.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3806, allocations: 4.25 kB / 0.5224 GB, free: 29.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.525e-06/0.3806, allocations: 6.656 kB / 0.5224 GB, free: 29.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.3808, allocations: 0.5327 MB / 0.5229 GB, free: 28.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002856/0.3811, allocations: 257.9 kB / 0.5232 GB, free: 28.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.3813, allocations: 0.701 MB / 0.5239 GB, free: 27.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001717/0.3815, allocations: 53.58 kB / 0.5239 GB, free: 27.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.51e-05/0.3815, allocations: 12.91 kB / 0.5239 GB, free: 27.61 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.3815, allocations: 2.688 kB / 0.5239 GB, free: 27.61 MB / 378.7 MB Notification: Performance of Templates: time 0.00271/0.3842, allocations: 0.6427 MB / 0.5246 GB, free: 27.52 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches