Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001199, allocations: 108.8 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001365, allocations: 180.9 kB / 18.71 MB, free: 4.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2454/0.2454, allocations: 44.18 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 67.89 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4431/0.4445, allocations: 60.83 MB / 0.5189 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.002965/0.4475, allocations: 1.861 MB / 0.5207 GB, free: 2.293 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.449, allocations: 0.9289 MB / 0.5216 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.541e-05/0.4491, allocations: 2.094 kB / 0.5216 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005227/0.4496, allocations: 256.8 kB / 0.5219 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000373/0.45, allocations: 198 kB / 0.5221 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.4513, allocations: 0.6311 MB / 0.5227 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003933/0.4517, allocations: 279.4 kB / 0.523 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.4519, allocations: 59.86 kB / 0.523 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.452, allocations: 122.7 kB / 0.5231 GB, free: 1.074 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.4522, allocations: 186.7 kB / 0.5233 GB, free: 1.023 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.4523, allocations: 8.562 kB / 0.5233 GB, free: 1.023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.4524, allocations: 42.48 kB / 0.5234 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.4525, allocations: 95.06 kB / 0.5234 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.184e-05/0.4526, allocations: 102.9 kB / 0.5235 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.453, allocations: 267.2 kB / 0.5238 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.453, allocations: 0 / 0.5238 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.453, allocations: 4 kB / 0.5238 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.453, allocations: 1.094 kB / 0.5238 GB, free: 0.7734 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000585/0.4536, allocations: 0.5892 MB / 0.5244 GB, free: 260 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.4536, allocations: 10.08 kB / 0.5244 GB, free: 260 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.519e-05/0.4537, allocations: 35.5 kB / 0.5244 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.454, allocations: 307.3 kB / 0.5247 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.454, allocations: 3.094 kB / 0.5247 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.4541, allocations: 12.53 kB / 0.5247 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.4543, allocations: 98.95 kB / 0.5248 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.4543, allocations: 0 / 0.5248 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.4543, allocations: 4 kB / 0.5248 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.4543, allocations: 2.812 kB / 0.5248 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.4545, allocations: 67.66 kB / 0.5249 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005988/0.4551, allocations: 448.9 kB / 0.5253 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.4553, allocations: 71.34 kB / 0.5254 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.431e-05/0.4554, allocations: 34.97 kB / 0.5254 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.4554, allocations: 10.16 kB / 0.5254 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.4554, allocations: 35.88 kB / 0.5255 GB, free: 15.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.4554, allocations: 0 / 0.5255 GB, free: 15.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003513/0.4558, allocations: 149.9 kB / 0.5256 GB, free: 15.36 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.4558, allocations: 55.34 kB / 0.5257 GB, free: 15.29 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005359/0.4564, allocations: 0.528 MB / 0.5262 GB, free: 15.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.4564, allocations: 27.08 kB / 0.5262 GB, free: 15.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.4565, allocations: 191.3 kB / 0.5264 GB, free: 14.85 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.4566, allocations: 18.41 kB / 0.5264 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.4566, allocations: 23.08 kB / 0.5264 GB, free: 14.81 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4567, allocations: 346.8 kB / 0.5268 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.022e-05/0.4568, allocations: 25.09 kB / 0.5268 GB, free: 14.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.259e-05/0.4569, allocations: 26.11 kB / 0.5268 GB, free: 14.45 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.457, allocations: 74.08 kB / 0.5269 GB, free: 14.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.457, allocations: 0 / 0.5269 GB, free: 14.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002094/0.4573, allocations: 119.7 kB / 0.527 GB, free: 14.33 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.4573, allocations: 5.062 kB / 0.527 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4573, allocations: 1.281 kB / 0.527 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.4573, allocations: 4 kB / 0.527 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.174e-05/0.4574, allocations: 18.11 kB / 0.527 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.4574, allocations: 3.938 kB / 0.527 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.438e-05/0.4575, allocations: 10.66 kB / 0.527 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.4575, allocations: 2.281 kB / 0.527 GB, free: 14.31 MB / 398.1 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 (6): * Single equations (assignments): 6 * 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.0001591/0.4577, allocations: 176.5 kB / 0.5272 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.646e-05/0.4577, allocations: 31.16 kB / 0.5272 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002818/0.458, allocations: 145.8 kB / 0.5274 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.458, allocations: 9.328 kB / 0.5274 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.458, allocations: 0 / 0.5274 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.458, allocations: 1.75 kB / 0.5274 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.4584, allocations: 289.5 kB / 0.5277 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4584, allocations: 0 / 0.5277 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.482e-05/0.4584, allocations: 13.33 kB / 0.5277 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.4584, allocations: 1.312 kB / 0.5277 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.4585, allocations: 0 / 0.5277 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.4585, allocations: 5.281 kB / 0.5277 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4585, allocations: 3.938 kB / 0.5277 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.4587, allocations: 219.4 kB / 0.5279 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-05/0.4588, allocations: 99.73 kB / 0.528 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.4588, allocations: 5.703 kB / 0.528 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.931e-05/0.4589, allocations: 5.125 kB / 0.528 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.459, allocations: 6.625 kB / 0.528 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.459, allocations: 1.25 kB / 0.528 GB, free: 13.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003871/0.4594, allocations: 400.3 kB / 0.5284 GB, free: 13.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4594, allocations: 0 / 0.5284 GB, free: 13.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003125/0.4597, allocations: 31.16 kB / 0.5284 GB, free: 13.25 MB / 398.1 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 (6): * Single equations (assignments): 6 * 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.001354/0.461, allocations: 0.5898 MB / 0.529 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.4613, allocations: 65.53 kB / 0.5291 GB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4613, allocations: 0 / 0.5291 GB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.602e-05/0.4613, allocations: 36.22 kB / 0.5291 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005237/0.4619, allocations: 71.36 kB / 0.5292 GB, free: 12.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000877/0.4628, allocations: 0.6046 MB / 0.5297 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.4631, allocations: 0.8086 MB / 0.5305 GB, free: 11.76 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.4633, allocations: 45.64 kB / 0.5306 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.53e-05/0.4633, allocations: 19.12 kB / 0.5306 GB, free: 11.74 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4633, allocations: 0 / 0.5306 GB, free: 11.74 MB / 398.1 MB Notification: Performance of Templates: time 0.006258/0.4696, allocations: 2.68 MB / 0.5332 GB, free: 10.38 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches