Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.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.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001167/0.001167, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001137/0.001137, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2416/0.2416, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 75.88 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4598/0.462, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003409/0.4654, allocations: 1.658 MB / 0.5326 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.4674, allocations: 1.199 MB / 0.5338 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.677e-05/0.4675, allocations: 2.031 kB / 0.5338 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002913/0.4678, allocations: 35.72 kB / 0.5338 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003112/0.4682, allocations: 86.45 kB / 0.5339 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004303/0.4686, allocations: 168.8 kB / 0.5341 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.4688, allocations: 79.08 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.4689, allocations: 21.61 kB / 0.5342 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.025e-05/0.469, allocations: 32.23 kB / 0.5342 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.4692, allocations: 36.2 kB / 0.5342 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.4692, allocations: 4.125 kB / 0.5342 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001871/0.4694, allocations: 105.5 kB / 0.5343 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.461e-05/0.4695, allocations: 25.42 kB / 0.5344 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.299e-05/0.4695, allocations: 22.75 kB / 0.5344 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002808/0.4698, allocations: 149.2 kB / 0.5345 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.4698, allocations: 7.922 kB / 0.5345 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4698, allocations: 0 / 0.5345 GB, free: 10.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.4698, allocations: 1.375 kB / 0.5345 GB, free: 10.87 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005961/0.4704, allocations: 413.7 kB / 0.5349 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.4705, allocations: 9.625 kB / 0.5349 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.103e-05/0.4705, allocations: 8.969 kB / 0.535 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.4708, allocations: 197.8 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.4708, allocations: 3.125 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.4709, allocations: 1.75 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.4711, allocations: 82.69 kB / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.4711, allocations: 1.375 kB / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.4711, allocations: 4 kB / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.4711, allocations: 5.359 kB / 0.5352 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.4713, allocations: 43.33 kB / 0.5353 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005673/0.4719, allocations: 304.6 kB / 0.5356 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.472, allocations: 49.61 kB / 0.5356 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.816e-05/0.4721, allocations: 25.25 kB / 0.5356 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.4722, allocations: 8 kB / 0.5357 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.4722, allocations: 31.72 kB / 0.5357 GB, free: 9.707 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.4722, allocations: 1.062 kB / 0.5357 GB, free: 9.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008832/0.4731, allocations: 238.2 kB / 0.5359 GB, free: 9.574 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.672e-05/0.4732, allocations: 78.77 kB / 0.536 GB, free: 9.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.4734, allocations: 151.6 kB / 0.5361 GB, free: 9.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.4734, allocations: 26.73 kB / 0.5362 GB, free: 9.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.049e-05/0.4735, allocations: 99.25 kB / 0.5362 GB, free: 9.223 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.4735, allocations: 26.36 kB / 0.5363 GB, free: 9.199 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-05/0.4736, allocations: 23.81 kB / 0.5363 GB, free: 9.176 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.4738, allocations: 321.6 kB / 0.5366 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.4739, allocations: 37.75 kB / 0.5366 GB, free: 8.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.474, allocations: 54.03 kB / 0.5367 GB, free: 8.805 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.4743, allocations: 90.48 kB / 0.5368 GB, free: 8.758 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4743, allocations: 1 kB / 0.5368 GB, free: 8.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003069/0.4747, allocations: 124.4 kB / 0.5369 GB, free: 8.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.4747, allocations: 9.516 kB / 0.5369 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.4747, allocations: 0 / 0.5369 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.4747, allocations: 0 / 0.5369 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.4749, allocations: 22.86 kB / 0.5369 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.4749, allocations: 1.219 kB / 0.5369 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.867e-05/0.4749, allocations: 22.05 kB / 0.537 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.475, allocations: 1.25 kB / 0.537 GB, free: 8.656 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 (7): * Single equations (assignments): 7 * 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.0001008/0.4751, allocations: 120.6 kB / 0.5371 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/0.4751, allocations: 7.469 kB / 0.5371 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003937/0.4755, allocations: 142.8 kB / 0.5372 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4755, allocations: 1.094 kB / 0.5372 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4755, allocations: 4 kB / 0.5372 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.4756, allocations: 9.109 kB / 0.5372 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005941/0.4762, allocations: 413.4 kB / 0.5376 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.4762, allocations: 1.094 kB / 0.5376 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.734e-05/0.4763, allocations: 17.86 kB / 0.5376 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4763, allocations: 1.5 kB / 0.5376 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.4763, allocations: 9 kB / 0.5376 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.4763, allocations: 0 / 0.5376 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4763, allocations: 1.125 kB / 0.5376 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003384/0.4767, allocations: 223.2 kB / 0.5379 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/0.4767, allocations: 87.16 kB / 0.5379 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.4767, allocations: 5.062 kB / 0.5379 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.314e-05/0.4768, allocations: 18.36 kB / 0.538 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.026e-05/0.4769, allocations: 2.188 kB / 0.538 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.4769, allocations: 6.094 kB / 0.538 GB, free: 7.727 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.998e-05/0.477, allocations: 115.3 kB / 0.5381 GB, free: 7.633 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.477, allocations: 0 / 0.5381 GB, free: 7.633 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000317/0.4773, allocations: 39.33 kB / 0.5381 GB, free: 7.621 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 (7): * Single equations (assignments): 7 * 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.001207/0.4785, allocations: 491.6 kB / 0.5386 GB, free: 7.371 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003563/0.4789, allocations: 104.9 kB / 0.5387 GB, free: 7.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4789, allocations: 0.9375 kB / 0.5387 GB, free: 7.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.4791, allocations: 44.78 kB / 0.5387 GB, free: 7.305 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.4795, allocations: 17.91 kB / 0.5388 GB, free: 7.297 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005757/0.4801, allocations: 222.2 kB / 0.539 GB, free: 7.121 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.4804, allocations: 0.6989 MB / 0.5396 GB, free: 6.414 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.952e-05/0.4805, allocations: 30.75 kB / 0.5397 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.053e-05/0.4805, allocations: 15.38 kB / 0.5397 GB, free: 6.387 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4805, allocations: 7.938 kB / 0.5397 GB, free: 6.379 MB / 398.1 MB Notification: Performance of Templates: time 0.005675/0.4862, allocations: 1.929 MB / 0.5416 GB, free: 5.375 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches