Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001324, allocations: 100.8 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002349/0.002349, allocations: 200.5 kB / 17.91 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.523/1.523, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2134/0.2134, allocations: 46.18 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.0004007, allocations: 8.219 kB / 418.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1579, allocations: 63.56 MB / 482.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.001759/0.1597, allocations: 1.322 MB / 483.7 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007788/0.1605, allocations: 0.4914 MB / 484.2 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/0.1605, allocations: 0 / 484.2 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005204/0.1611, allocations: 439.2 kB / 484.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003634/0.1614, allocations: 279.4 kB / 484.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.1617, allocations: 115.3 kB / 485 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.1619, allocations: 127.7 kB / 485.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.303e-05/0.162, allocations: 11.98 kB / 485.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.1621, allocations: 107.7 kB / 485.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.1623, allocations: 167.6 kB / 485.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.1624, allocations: 4 kB / 485.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.983e-05/0.1624, allocations: 16 kB / 485.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.1625, allocations: 87.67 kB / 485.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.372e-05/0.1626, allocations: 69.52 kB / 485.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.1628, allocations: 171.8 kB / 485.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1628, allocations: 0 / 485.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1628, allocations: 0 / 485.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1628, allocations: 0 / 485.8 MB, free: 1.16 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006366/0.1635, allocations: 0.599 MB / 486.4 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.1635, allocations: 8.031 kB / 486.4 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.862e-05/0.1636, allocations: 47.44 kB / 486.4 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.1639, allocations: 275.3 kB / 486.7 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.1639, allocations: 8 kB / 486.7 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.1639, allocations: 3.938 kB / 486.7 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.164, allocations: 53.67 kB / 486.8 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.1641, allocations: 3.984 kB / 486.8 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.1641, allocations: 0 / 486.8 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1641, allocations: 4 kB / 486.8 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.1642, allocations: 39.97 kB / 486.8 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00042/0.1646, allocations: 380.7 kB / 487.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.1648, allocations: 50.55 kB / 487.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.277e-05/0.1648, allocations: 20.94 kB / 487.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.1649, allocations: 4 kB / 487.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.1649, allocations: 42.56 kB / 487.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 2.675e-06/0.1649, allocations: 0 / 487.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003069/0.1652, allocations: 137.1 kB / 487.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.1652, allocations: 51.41 kB / 487.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007883/0.166, allocations: 0.8612 MB / 488.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.1661, allocations: 29.7 kB / 488.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.1662, allocations: 216.1 kB / 488.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.1662, allocations: 11.84 kB / 488.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.1662, allocations: 0 / 488.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1664, allocations: 362.8 kB / 489 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.996e-05/0.1665, allocations: 19.98 kB / 489 MB, free: 13.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.041e-05/0.1665, allocations: 19.98 kB / 489 MB, free: 13.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.345e-05/0.1666, allocations: 19.98 kB / 489 MB, free: 13.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1666, allocations: 4 kB / 489 MB, free: 13.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001747/0.1668, allocations: 113 kB / 489.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1668, allocations: 12 kB / 489.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1668, allocations: 0 / 489.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.1668, allocations: 0 / 489.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.053e-05/0.1669, allocations: 11.98 kB / 489.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1669, allocations: 0 / 489.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.188e-05/0.167, allocations: 8 kB / 489.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.167, allocations: 0 / 489.2 MB, free: 13.56 MB / 366.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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001733/0.1672, allocations: 221.7 kB / 489.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.451e-05/0.1672, allocations: 35.53 kB / 489.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.1675, allocations: 132.8 kB / 489.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1675, allocations: 0 / 489.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1675, allocations: 0 / 489.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1675, allocations: 0 / 489.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002868/0.1678, allocations: 301.5 kB / 489.8 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1678, allocations: 0 / 489.8 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.058e-05/0.1679, allocations: 8 kB / 489.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1679, allocations: 0 / 489.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.1679, allocations: 7.922 kB / 489.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1679, allocations: 4 kB / 489.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1679, allocations: 4.359 kB / 489.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.1681, allocations: 211 kB / 490.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.429e-05/0.1682, allocations: 112.5 kB / 490.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.1682, allocations: 0 / 490.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.791e-05/0.1683, allocations: 15.88 kB / 490.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/0.1683, allocations: 4 kB / 490.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.1683, allocations: 3.984 kB / 490.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005454/0.1689, allocations: 0.6511 MB / 490.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1689, allocations: 0 / 490.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002393/0.1691, allocations: 23.98 kB / 490.9 MB, free: 11.74 MB / 366.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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007306/0.1699, allocations: 338 kB / 491.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000159/0.1701, allocations: 39.97 kB / 491.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1701, allocations: 0 / 491.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.167e-05/0.1701, allocations: 23.97 kB / 491.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.1705, allocations: 36.67 kB / 491.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.1715, allocations: 0.8333 MB / 492.1 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.1719, allocations: 0.8185 MB / 492.9 MB, free: 9.715 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.616e-05/0.172, allocations: 12.16 kB / 493 MB, free: 9.703 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.172, allocations: 15.44 kB / 493 MB, free: 9.688 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.172, allocations: 3.938 kB / 493 MB, free: 9.684 MB / 366.1 MB Notification: Performance of Templates: time 0.003966/0.176, allocations: 1.175 MB / 494.2 MB, free: 8.508 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches