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.001027/0.001027, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.0009564/0.0009565, allocations: 183.8 kB / 18.71 MB, free: 4.34 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.303/1.303, allocations: 222.9 MB / 242.4 MB, free: 15.03 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.2087/0.2087, allocations: 44.18 MB / 336.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 59.91 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4421/0.4432, allocations: 60.81 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.003628/0.4469, allocations: 1.87 MB / 0.5207 GB, free: 2.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.4488, allocations: 0.9205 MB / 0.5216 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.4489, allocations: 10.16 kB / 0.5216 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000774/0.4497, allocations: 256.3 kB / 0.5219 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004964/0.4502, allocations: 198.1 kB / 0.5221 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001813/0.4521, allocations: 0.6271 MB / 0.5227 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005411/0.4526, allocations: 280.3 kB / 0.5229 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.4528, allocations: 64.88 kB / 0.523 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.453, allocations: 117 kB / 0.5231 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003374/0.4534, allocations: 191 kB / 0.5233 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.946e-05/0.4534, allocations: 8.125 kB / 0.5233 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.4536, allocations: 42.19 kB / 0.5233 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.4538, allocations: 95.61 kB / 0.5234 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.824e-05/0.4539, allocations: 104.1 kB / 0.5235 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004127/0.4543, allocations: 265.8 kB / 0.5238 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.136e-06/0.4543, allocations: 0.8438 kB / 0.5238 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4543, allocations: 0 / 0.5238 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.4543, allocations: 2.844 kB / 0.5238 GB, free: 0.8047 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.0007924/0.4551, allocations: 0.5889 MB / 0.5244 GB, free: 288 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.4552, allocations: 8.25 kB / 0.5244 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.122e-05/0.4553, allocations: 40.84 kB / 0.5244 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003665/0.4557, allocations: 307.1 kB / 0.5247 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.4557, allocations: 3.562 kB / 0.5247 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.4557, allocations: 8.062 kB / 0.5247 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.456, allocations: 98.03 kB / 0.5248 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.456, allocations: 0 / 0.5248 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.456, allocations: 4.875 kB / 0.5248 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.456, allocations: 6 kB / 0.5248 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/0.4562, allocations: 68.33 kB / 0.5249 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007693/0.457, allocations: 448.8 kB / 0.5253 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.4572, allocations: 71.45 kB / 0.5254 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.74e-05/0.4573, allocations: 33.97 kB / 0.5254 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.633e-05/0.4573, allocations: 11.02 kB / 0.5254 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.4574, allocations: 32.52 kB / 0.5255 GB, free: 15.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.4574, allocations: 0 / 0.5255 GB, free: 15.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004473/0.4578, allocations: 158.4 kB / 0.5256 GB, free: 15.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.4579, allocations: 55.34 kB / 0.5257 GB, free: 15.31 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006914/0.4586, allocations: 0.525 MB / 0.5262 GB, free: 15.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.4586, allocations: 27.08 kB / 0.5262 GB, free: 15.04 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.4588, allocations: 195.3 kB / 0.5264 GB, free: 14.86 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.4588, allocations: 18.41 kB / 0.5264 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.4589, allocations: 19.22 kB / 0.5264 GB, free: 14.83 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.4591, allocations: 349.8 kB / 0.5268 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.345e-05/0.4591, allocations: 21.73 kB / 0.5268 GB, free: 14.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.588e-05/0.4592, allocations: 31.09 kB / 0.5268 GB, free: 14.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.4594, allocations: 65.83 kB / 0.5269 GB, free: 14.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4594, allocations: 7.938 kB / 0.5269 GB, free: 14.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002203/0.4596, allocations: 118.8 kB / 0.527 GB, free: 14.35 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.4596, allocations: 8.312 kB / 0.527 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.4596, allocations: 1.812 kB / 0.527 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.4597, allocations: 0 / 0.527 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.763e-05/0.4598, allocations: 17.5 kB / 0.527 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.4598, allocations: 5.359 kB / 0.527 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.935e-05/0.4599, allocations: 10.66 kB / 0.527 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.4599, allocations: 1.375 kB / 0.527 GB, free: 14.33 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.0001638/0.46, allocations: 172.3 kB / 0.5272 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.28e-05/0.4601, allocations: 30.75 kB / 0.5272 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000305/0.4604, allocations: 155.1 kB / 0.5274 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.4604, allocations: 3.938 kB / 0.5274 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.4604, allocations: 1.594 kB / 0.5274 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.4604, allocations: 0 / 0.5274 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003788/0.4608, allocations: 281.3 kB / 0.5277 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.4608, allocations: 0 / 0.5277 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.722e-05/0.4609, allocations: 14.02 kB / 0.5277 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.4609, allocations: 5.594 kB / 0.5277 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.4609, allocations: 0 / 0.5277 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.4609, allocations: 5.438 kB / 0.5277 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4609, allocations: 0 / 0.5277 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.4612, allocations: 219.3 kB / 0.5279 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.713e-05/0.4613, allocations: 99.61 kB / 0.528 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.4614, allocations: 1.562 kB / 0.528 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-05/0.4615, allocations: 9.281 kB / 0.528 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.4615, allocations: 14.58 kB / 0.528 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.4615, allocations: 1.156 kB / 0.528 GB, free: 13.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004846/0.462, allocations: 396.7 kB / 0.5284 GB, free: 13.28 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.462, allocations: 0 / 0.5284 GB, free: 13.28 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000282/0.4623, allocations: 31.81 kB / 0.5284 GB, free: 13.27 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.001581/0.4639, allocations: 0.5869 MB / 0.529 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002443/0.4642, allocations: 72.7 kB / 0.5291 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.4642, allocations: 1.125 kB / 0.5291 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.438e-05/0.4643, allocations: 31.36 kB / 0.5291 GB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005806/0.4648, allocations: 75.81 kB / 0.5292 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.466, allocations: 0.5891 MB / 0.5297 GB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005155/0.4665, allocations: 0.8051 MB / 0.5305 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000156/0.4667, allocations: 41.38 kB / 0.5306 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.24e-05/0.4668, allocations: 23.45 kB / 0.5306 GB, free: 11.77 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4668, allocations: 3.938 kB / 0.5306 GB, free: 11.77 MB / 398.1 MB Notification: Performance of Templates: time 0.007578/0.4744, allocations: 2.693 MB / 0.5332 GB, free: 10.39 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