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.001131/0.001131, allocations: 106.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001149/0.001149, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 227.4 MB / 246.4 MB, free: 10.86 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2265/0.2265, allocations: 46.11 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 78.03 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1625, allocations: 62.44 MB / 479.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.00441/0.167, allocations: 1.68 MB / 481.2 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.1681, allocations: 0.5378 MB / 481.7 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.147e-05/0.1682, allocations: 4 kB / 481.7 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006144/0.1688, allocations: 443.2 kB / 482.1 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005447/0.1694, allocations: 279.4 kB / 482.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004202/0.1699, allocations: 123 kB / 482.5 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000276/0.1702, allocations: 163.6 kB / 482.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1703, allocations: 15.98 kB / 482.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.1705, allocations: 103.8 kB / 482.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002701/0.1708, allocations: 223.6 kB / 483 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.1708, allocations: 4 kB / 483 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.339e-05/0.1709, allocations: 31.97 kB / 483.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.171, allocations: 79.69 kB / 483.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.1711, allocations: 106.9 kB / 483.3 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.1715, allocations: 243 kB / 483.5 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1715, allocations: 0 / 483.5 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1715, allocations: 0 / 483.5 MB, free: 1.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.1715, allocations: 0 / 483.5 MB, free: 1.609 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.0008544/0.1724, allocations: 0.6416 MB / 484.1 MB, free: 0.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.1724, allocations: 8.031 kB / 484.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.703e-05/0.1725, allocations: 36.47 kB / 484.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.1728, allocations: 300.1 kB / 484.5 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.1728, allocations: 384 / 484.5 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.1728, allocations: 4.375 kB / 484.5 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.173, allocations: 61.73 kB / 484.5 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1731, allocations: 0 / 484.5 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1731, allocations: 0 / 484.5 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.1731, allocations: 4 kB / 484.5 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.1732, allocations: 31.97 kB / 484.6 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004846/0.1737, allocations: 376.7 kB / 484.9 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.1739, allocations: 46.52 kB / 485 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.327e-05/0.174, allocations: 24.94 kB / 485 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.174, allocations: 4 kB / 485 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.174, allocations: 30.56 kB / 485 MB, free: 15.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.174, allocations: 0 / 485 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003722/0.1744, allocations: 117.2 kB / 485.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.1745, allocations: 55.41 kB / 485.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008602/0.1753, allocations: 0.8613 MB / 486.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.1754, allocations: 29.7 kB / 486.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.1755, allocations: 215.9 kB / 486.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.1756, allocations: 11.84 kB / 486.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/0.1756, allocations: 17.66 kB / 486.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.1758, allocations: 370.7 kB / 486.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.596e-05/0.1759, allocations: 11.98 kB / 486.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.787e-05/0.1759, allocations: 19.98 kB / 486.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.1761, allocations: 36.83 kB / 486.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1761, allocations: 0 / 486.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002117/0.1763, allocations: 105.1 kB / 486.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.1763, allocations: 8 kB / 486.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.1763, allocations: 0 / 486.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1764, allocations: 336 / 486.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.681e-05/0.1765, allocations: 19.92 kB / 486.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.1765, allocations: 0 / 486.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.533e-05/0.1765, allocations: 0 / 486.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.1766, allocations: 7.984 kB / 486.9 MB, free: 13.96 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001936/0.1768, allocations: 213.7 kB / 487.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.498e-05/0.1768, allocations: 35.53 kB / 487.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002561/0.1771, allocations: 129 kB / 487.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1771, allocations: 0 / 487.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1771, allocations: 4 kB / 487.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1771, allocations: 0 / 487.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/0.1774, allocations: 293.4 kB / 487.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1774, allocations: 0 / 487.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.933e-05/0.1775, allocations: 15.92 kB / 487.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.1775, allocations: 0 / 487.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.1775, allocations: 0 / 487.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1775, allocations: 3.938 kB / 487.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1775, allocations: 0 / 487.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.1778, allocations: 207 kB / 487.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-05/0.1779, allocations: 108.5 kB / 487.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.1779, allocations: 0 / 487.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.339e-05/0.178, allocations: 4 kB / 487.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.178, allocations: 3.984 kB / 487.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.178, allocations: 0 / 487.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005735/0.1786, allocations: 0.655 MB / 488.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1786, allocations: 0 / 488.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.1789, allocations: 20 kB / 488.6 MB, free: 12.18 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 (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.000882/0.1798, allocations: 344.3 kB / 488.9 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.18, allocations: 43.84 kB / 489 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.18, allocations: 0 / 489 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.49e-05/0.18, allocations: 19.98 kB / 489 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.1805, allocations: 25.89 kB / 489 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.1816, allocations: 0.8539 MB / 489.9 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.182, allocations: 0.8182 MB / 490.7 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.12e-05/0.182, allocations: 12.16 kB / 490.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.1821, allocations: 15.38 kB / 490.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of SimCode: time 2.935e-06/0.1821, allocations: 0 / 490.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of Templates: time 0.004813/0.1869, allocations: 1.269 MB / 492 MB, free: 8.852 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