Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.000846/0.0008459, allocations: 179.2 kB / 17.41 MB, free: 4.258 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.284/1.284, allocations: 225.7 MB / 243.9 MB, free: 8.457 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.0008348/0.0008351, allocations: 97.38 kB / 295.1 MB, free: 9.488 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.3377/0.3377, allocations: 44.33 MB / 390.5 MB, free: 38.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.0003409, allocations: 8 kB / 463.1 MB, free: 464 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3533, allocations: 61.9 MB / 0.5127 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.00173/0.355, allocations: 1.34 MB / 0.514 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007479/0.3558, allocations: 0.4926 MB / 0.5145 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.33e-05/0.3559, allocations: 0 / 0.5145 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.3561, allocations: 62.17 kB / 0.5146 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.3563, allocations: 50.42 kB / 0.5146 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003744/0.3567, allocations: 161.8 kB / 0.5148 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.3568, allocations: 81.62 kB / 0.5149 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.357, allocations: 12.91 kB / 0.5149 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.398e-05/0.357, allocations: 30.28 kB / 0.5149 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.976e-05/0.3571, allocations: 50.66 kB / 0.5149 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.3571, allocations: 6.781 kB / 0.515 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.613e-05/0.3572, allocations: 37.23 kB / 0.515 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.794e-05/0.3573, allocations: 22.59 kB / 0.515 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.3573, allocations: 48.39 kB / 0.5151 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.3575, allocations: 102.6 kB / 0.5152 GB, free: 36.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3575, allocations: 0.9062 kB / 0.5152 GB, free: 36.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3575, allocations: 0 / 0.5152 GB, free: 36.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.3576, allocations: 0 / 0.5152 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004596/0.358, allocations: 405.7 kB / 0.5155 GB, free: 35.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.3581, allocations: 9.938 kB / 0.5156 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/0.3581, allocations: 17.98 kB / 0.5156 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.3583, allocations: 193.8 kB / 0.5158 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.3583, allocations: 3.312 kB / 0.5158 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.3583, allocations: 10.59 kB / 0.5158 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.3585, allocations: 75.52 kB / 0.5158 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.3585, allocations: 3.938 kB / 0.5158 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.3585, allocations: 3.938 kB / 0.5158 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.3586, allocations: 2.688 kB / 0.5159 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.3587, allocations: 49.36 kB / 0.5159 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003827/0.3591, allocations: 321.2 kB / 0.5162 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.3593, allocations: 63.36 kB / 0.5163 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.491e-05/0.3594, allocations: 35.14 kB / 0.5163 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.3595, allocations: 3.984 kB / 0.5163 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.3595, allocations: 36.44 kB / 0.5163 GB, free: 35.17 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.3595, allocations: 0 / 0.5163 GB, free: 35.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001406/0.3609, allocations: 0.4935 MB / 0.5168 GB, free: 35.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.3609, allocations: 58.06 kB / 0.5169 GB, free: 34.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.3611, allocations: 176.8 kB / 0.517 GB, free: 34.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.3611, allocations: 28.33 kB / 0.5171 GB, free: 34.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.139e-05/0.3611, allocations: 102.3 kB / 0.5172 GB, free: 34.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.3612, allocations: 39.84 kB / 0.5172 GB, free: 34.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-06/0.3612, allocations: 0 / 0.5172 GB, free: 34.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.456e-05/0.3613, allocations: 323.4 kB / 0.5175 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.3614, allocations: 55.45 kB / 0.5176 GB, free: 34.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.3615, allocations: 74.2 kB / 0.5176 GB, free: 34.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.3618, allocations: 136.8 kB / 0.5178 GB, free: 34.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3618, allocations: 1.344 kB / 0.5178 GB, free: 34.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003161/0.3621, allocations: 181.7 kB / 0.5179 GB, free: 34.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3622, allocations: 4.75 kB / 0.5179 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3622, allocations: 7.875 kB / 0.518 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.3622, allocations: 1.281 kB / 0.518 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.3623, allocations: 33.56 kB / 0.518 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.3623, allocations: 1.188 kB / 0.518 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.019e-05/0.3624, allocations: 17.39 kB / 0.518 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.3624, allocations: 2.344 kB / 0.518 GB, free: 34.19 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 8.167e-05/0.3625, allocations: 128.9 kB / 0.5181 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.3625, allocations: 8.938 kB / 0.5181 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000412/0.3629, allocations: 213.4 kB / 0.5183 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.363, allocations: 1.688 kB / 0.5183 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.363, allocations: 0 / 0.5183 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.363, allocations: 0 / 0.5183 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000627/0.3636, allocations: 0.5199 MB / 0.5189 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3636, allocations: 3.422 kB / 0.5189 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.563e-05/0.3637, allocations: 27.73 kB / 0.5189 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3637, allocations: 6.938 kB / 0.5189 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.3637, allocations: 4.656 kB / 0.5189 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3638, allocations: 2.938 kB / 0.5189 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3638, allocations: 0.5156 kB / 0.5189 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.3641, allocations: 290 kB / 0.5192 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.927e-05/0.3641, allocations: 86.2 kB / 0.5193 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.3641, allocations: 0 / 0.5193 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.835e-05/0.3642, allocations: 18.97 kB / 0.5193 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.3643, allocations: 9.516 kB / 0.5193 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-06/0.3643, allocations: 3.516 kB / 0.5193 GB, free: 33.26 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.104e-05/0.3644, allocations: 137.5 kB / 0.5194 GB, free: 33.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3644, allocations: 4 kB / 0.5194 GB, free: 33.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002324/0.3646, allocations: 28.75 kB / 0.5194 GB, free: 33.16 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.0009661/0.3656, allocations: 0.5284 MB / 0.52 GB, free: 32.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003327/0.366, allocations: 144.3 kB / 0.5201 GB, free: 32.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.366, allocations: 4 kB / 0.5201 GB, free: 32.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.3661, allocations: 73.91 kB / 0.5202 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.3665, allocations: 20.48 kB / 0.5202 GB, free: 32.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005135/0.367, allocations: 336.3 kB / 0.5205 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.3672, allocations: 0.7123 MB / 0.5212 GB, free: 31.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.3673, allocations: 27.72 kB / 0.5212 GB, free: 31.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.3674, allocations: 19.66 kB / 0.5213 GB, free: 31.83 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.3674, allocations: 0 / 0.5213 GB, free: 31.83 MB / 378.7 MB Notification: Performance of Templates: time 0.004463/0.3718, allocations: 1.499 MB / 0.5227 GB, free: 31.65 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches