Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001037/0.001037, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.413/1.413, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.2206/0.2206, allocations: 44.19 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 59.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4508/0.4527, allocations: 60.82 MB / 0.5189 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003757/0.4566, allocations: 1.631 MB / 0.5205 GB, free: 2.742 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000878/0.4575, allocations: 462 kB / 0.521 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.989e-05/0.4576, allocations: 1.406 kB / 0.521 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009429/0.4585, allocations: 455 kB / 0.5214 GB, free: 2.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004962/0.459, allocations: 253.3 kB / 0.5216 GB, free: 2.387 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004894/0.4595, allocations: 176 kB / 0.5218 GB, free: 2.301 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002971/0.4599, allocations: 179.5 kB / 0.522 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.46, allocations: 25.52 kB / 0.522 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.4601, allocations: 113 kB / 0.5221 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003076/0.4605, allocations: 213.3 kB / 0.5223 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.4605, allocations: 4.688 kB / 0.5223 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.4606, allocations: 55.73 kB / 0.5224 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.4608, allocations: 86.58 kB / 0.5225 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.173e-05/0.4609, allocations: 101 kB / 0.5226 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004348/0.4613, allocations: 271.9 kB / 0.5228 GB, free: 1.961 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4613, allocations: 0 / 0.5228 GB, free: 1.961 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4613, allocations: 1.812 kB / 0.5228 GB, free: 1.961 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.4613, allocations: 0 / 0.5228 GB, free: 1.961 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007066/0.462, allocations: 0.6525 MB / 0.5235 GB, free: 1.391 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.4621, allocations: 7.75 kB / 0.5235 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.814e-05/0.4622, allocations: 43.28 kB / 0.5235 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.4624, allocations: 299.7 kB / 0.5238 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.4625, allocations: 1.75 kB / 0.5238 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.4625, allocations: 8.438 kB / 0.5238 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.4627, allocations: 69.58 kB / 0.5239 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.4627, allocations: 1.859 kB / 0.5239 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.4627, allocations: 0 / 0.5239 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.4627, allocations: 1.625 kB / 0.5239 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.4629, allocations: 45.91 kB / 0.5239 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005234/0.4634, allocations: 409.2 kB / 0.5243 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.4637, allocations: 63.48 kB / 0.5244 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.614e-05/0.4638, allocations: 30.56 kB / 0.5244 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.4638, allocations: 1.828 kB / 0.5244 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.4638, allocations: 36.41 kB / 0.5244 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.143e-06/0.4638, allocations: 0 / 0.5244 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001469/0.4653, allocations: 0.4912 MB / 0.5249 GB, free: 384 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.4653, allocations: 60.41 kB / 0.525 GB, free: 312 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009106/0.4663, allocations: 0.8514 MB / 0.5258 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.4663, allocations: 27.08 kB / 0.5258 GB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.4665, allocations: 215.1 kB / 0.526 GB, free: 15.67 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.4665, allocations: 35.72 kB / 0.5261 GB, free: 15.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/0.4666, allocations: 30.7 kB / 0.5261 GB, free: 15.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.4668, allocations: 360 kB / 0.5264 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.4669, allocations: 61.05 kB / 0.5265 GB, free: 15.24 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.4671, allocations: 51.73 kB / 0.5265 GB, free: 15.21 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.4674, allocations: 124.4 kB / 0.5267 GB, free: 15.15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.4674, allocations: 0 / 0.5267 GB, free: 15.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003715/0.4677, allocations: 201.7 kB / 0.5268 GB, free: 15.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.4678, allocations: 6.969 kB / 0.5269 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.4678, allocations: 1.469 kB / 0.5269 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.4678, allocations: 0 / 0.5269 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.4679, allocations: 31.78 kB / 0.5269 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.4679, allocations: 1.188 kB / 0.5269 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.176e-05/0.468, allocations: 10.11 kB / 0.5269 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.468, allocations: 5.875 kB / 0.5269 GB, free: 15.02 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 (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 0.0002016/0.4682, allocations: 216.2 kB / 0.5271 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.138e-05/0.4683, allocations: 48.3 kB / 0.5272 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004579/0.4688, allocations: 224.4 kB / 0.5274 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.4688, allocations: 5.031 kB / 0.5274 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.4688, allocations: 1.406 kB / 0.5274 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.4688, allocations: 7.984 kB / 0.5274 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008513/0.4697, allocations: 0.5959 MB / 0.528 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.4697, allocations: 1.125 kB / 0.528 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.4698, allocations: 28.78 kB / 0.528 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.4698, allocations: 5.312 kB / 0.528 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.4698, allocations: 2.531 kB / 0.528 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.4698, allocations: 0 / 0.528 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4698, allocations: 1.375 kB / 0.528 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004188/0.4703, allocations: 314 kB / 0.5283 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.963e-05/0.4704, allocations: 110 kB / 0.5284 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.4704, allocations: 6.344 kB / 0.5284 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.4705, allocations: 10.17 kB / 0.5284 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.4706, allocations: 11.98 kB / 0.5284 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.4706, allocations: 4.375 kB / 0.5284 GB, free: 13.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006707/0.4712, allocations: 0.6407 MB / 0.5291 GB, free: 13.51 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4713, allocations: 1.312 kB / 0.5291 GB, free: 13.51 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002892/0.4716, allocations: 36.59 kB / 0.5291 GB, free: 13.5 MB / 398.1 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.001016/0.4726, allocations: 458.4 kB / 0.5295 GB, free: 13.28 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000362/0.4729, allocations: 132.5 kB / 0.5297 GB, free: 13.22 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.473, allocations: 0 / 0.5297 GB, free: 13.22 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.4731, allocations: 71.55 kB / 0.5297 GB, free: 13.19 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.4735, allocations: 33.2 kB / 0.5298 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.4747, allocations: 0.8566 MB / 0.5306 GB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004415/0.4752, allocations: 0.8422 MB / 0.5314 GB, free: 11.92 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.282e-05/0.4753, allocations: 29.89 kB / 0.5315 GB, free: 11.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/0.4754, allocations: 22.39 kB / 0.5315 GB, free: 11.9 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4754, allocations: 0 / 0.5315 GB, free: 11.9 MB / 398.1 MB Notification: Performance of Templates: time 0.005723/0.4811, allocations: 1.949 MB / 0.5334 GB, free: 10.93 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches