Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001688/0.001688, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001676/0.001676, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.242/0.242, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 71.88 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4321/0.4336, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.00413/0.4378, allocations: 2.052 MB / 0.533 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.4397, allocations: 1.014 MB / 0.534 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002071/0.44, allocations: 6.219 kB / 0.534 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005105/0.4405, allocations: 252.1 kB / 0.5342 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006318/0.4412, allocations: 269.8 kB / 0.5345 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.4424, allocations: 498.8 kB / 0.535 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005663/0.443, allocations: 326 kB / 0.5353 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.4432, allocations: 63.77 kB / 0.5353 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002736/0.4434, allocations: 144.2 kB / 0.5355 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003006/0.4438, allocations: 206.2 kB / 0.5357 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.4438, allocations: 11.34 kB / 0.5357 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002326/0.444, allocations: 98.66 kB / 0.5358 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.4442, allocations: 87.67 kB / 0.5359 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.4443, allocations: 124.4 kB / 0.536 GB, free: 10 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004683/0.4448, allocations: 340 kB / 0.5363 GB, free: 9.777 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.4448, allocations: 4 kB / 0.5363 GB, free: 9.773 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4448, allocations: 0 / 0.5363 GB, free: 9.773 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.4448, allocations: 0 / 0.5363 GB, free: 9.773 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007966/0.4456, allocations: 0.6483 MB / 0.5369 GB, free: 9.168 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.4457, allocations: 11.64 kB / 0.537 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.461e-05/0.4458, allocations: 45.91 kB / 0.537 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003393/0.4461, allocations: 331.2 kB / 0.5373 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.4461, allocations: 9.375 kB / 0.5373 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.4462, allocations: 11.09 kB / 0.5373 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.4464, allocations: 122.8 kB / 0.5375 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.4464, allocations: 1.25 kB / 0.5375 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.4465, allocations: 4 kB / 0.5375 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4465, allocations: 3.188 kB / 0.5375 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.4466, allocations: 66.98 kB / 0.5375 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006388/0.4473, allocations: 477.9 kB / 0.538 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.4475, allocations: 94.83 kB / 0.5381 GB, free: 8.211 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.34e-05/0.4476, allocations: 32.88 kB / 0.5381 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.4476, allocations: 10.3 kB / 0.5381 GB, free: 8.184 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.4477, allocations: 35.86 kB / 0.5381 GB, free: 8.141 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.4477, allocations: 1.125 kB / 0.5381 GB, free: 8.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009469/0.4486, allocations: 389.2 kB / 0.5385 GB, free: 7.922 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.4487, allocations: 53.81 kB / 0.5386 GB, free: 7.859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006182/0.4493, allocations: 0.56 MB / 0.5391 GB, free: 7.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.4493, allocations: 29.7 kB / 0.5391 GB, free: 7.535 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.4495, allocations: 203.1 kB / 0.5393 GB, free: 7.352 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.793e-05/0.4495, allocations: 56.97 kB / 0.5394 GB, free: 7.301 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.045e-05/0.4496, allocations: 33.42 kB / 0.5394 GB, free: 7.273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.4497, allocations: 359.3 kB / 0.5398 GB, free: 6.926 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.4498, allocations: 49.94 kB / 0.5398 GB, free: 6.902 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.45, allocations: 55.62 kB / 0.5399 GB, free: 6.875 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.4502, allocations: 120.9 kB / 0.54 GB, free: 6.816 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4502, allocations: 3.938 kB / 0.54 GB, free: 6.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004095/0.4506, allocations: 202.4 kB / 0.5402 GB, free: 6.699 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.4506, allocations: 9.656 kB / 0.5402 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.4507, allocations: 0 / 0.5402 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.4507, allocations: 1.125 kB / 0.5402 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.4508, allocations: 35.23 kB / 0.5402 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.4508, allocations: 5.172 kB / 0.5402 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.672e-05/0.4509, allocations: 7.438 kB / 0.5402 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.4509, allocations: 4.312 kB / 0.5402 GB, free: 6.68 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 (17): * Single equations (assignments): 17 * 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.0001688/0.4511, allocations: 176.2 kB / 0.5404 GB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.453e-05/0.4512, allocations: 45.72 kB / 0.5405 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000447/0.4516, allocations: 240.8 kB / 0.5407 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.4517, allocations: 1.969 kB / 0.5407 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4517, allocations: 5.25 kB / 0.5407 GB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4517, allocations: 0 / 0.5407 GB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008431/0.4525, allocations: 0.6243 MB / 0.5413 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4525, allocations: 4 kB / 0.5413 GB, free: 5.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.4527, allocations: 30.42 kB / 0.5413 GB, free: 5.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.4527, allocations: 1.031 kB / 0.5413 GB, free: 5.828 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.4527, allocations: 6.406 kB / 0.5413 GB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.4527, allocations: 1.125 kB / 0.5413 GB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.4527, allocations: 3.938 kB / 0.5413 GB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004333/0.4531, allocations: 301.3 kB / 0.5416 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.972e-05/0.4532, allocations: 113.3 kB / 0.5417 GB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.592e-05/0.4533, allocations: 1.094 kB / 0.5417 GB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.587e-05/0.4534, allocations: 7.281 kB / 0.5417 GB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.4534, allocations: 14.61 kB / 0.5418 GB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.4535, allocations: 4.188 kB / 0.5418 GB, free: 5.469 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000585/0.4541, allocations: 423.9 kB / 0.5422 GB, free: 5.254 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4541, allocations: 0 / 0.5422 GB, free: 5.254 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003619/0.4544, allocations: 51.41 kB / 0.5422 GB, free: 5.238 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 (17): * Single equations (assignments): 17 * 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.001779/0.4562, allocations: 0.6906 MB / 0.5429 GB, free: 4.895 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003667/0.4566, allocations: 127.8 kB / 0.543 GB, free: 4.848 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4566, allocations: 1.094 kB / 0.543 GB, free: 4.848 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.4568, allocations: 71.31 kB / 0.5431 GB, free: 4.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005934/0.4574, allocations: 79.67 kB / 0.5432 GB, free: 4.781 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.4588, allocations: 0.6944 MB / 0.5438 GB, free: 4.355 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004843/0.4593, allocations: 0.8155 MB / 0.5446 GB, free: 3.598 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000146/0.4594, allocations: 41.2 kB / 0.5447 GB, free: 3.582 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.212e-05/0.4595, allocations: 32.77 kB / 0.5447 GB, free: 3.57 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4595, allocations: 0 / 0.5447 GB, free: 3.57 MB / 398.1 MB Notification: Performance of Templates: time 0.0077/0.4672, allocations: 3.277 MB / 0.5479 GB, free: 344 kB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches