Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001315/0.001315, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2344/0.2344, allocations: 46.1 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 71.61 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1473, allocations: 62.45 MB / 481.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003168/0.1506, allocations: 1.615 MB / 483.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009708/0.1516, allocations: 0.565 MB / 483.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.488e-05/0.1516, allocations: 0 / 483.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005101/0.1521, allocations: 455.1 kB / 484.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004368/0.1526, allocations: 295.3 kB / 484.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.153, allocations: 163.3 kB / 484.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000212/0.1532, allocations: 183.6 kB / 484.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.608e-05/0.1533, allocations: 12 kB / 484.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.1534, allocations: 111.8 kB / 484.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.1536, allocations: 211.6 kB / 485 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.1537, allocations: 8 kB / 485 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.625e-05/0.1537, allocations: 27.97 kB / 485.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.89e-05/0.1538, allocations: 79.64 kB / 485.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.944e-05/0.1539, allocations: 99.05 kB / 485.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.1542, allocations: 255 kB / 485.5 MB, free: 448 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1542, allocations: 4 kB / 485.5 MB, free: 444 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1542, allocations: 0 / 485.5 MB, free: 444 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.1542, allocations: 0 / 485.5 MB, free: 444 kB / 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.0006784/0.1549, allocations: 0.6413 MB / 486.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1549, allocations: 16.03 kB / 486.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.719e-05/0.155, allocations: 40.38 kB / 486.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.1553, allocations: 300.1 kB / 486.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.1553, allocations: 384 / 486.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.1553, allocations: 4.375 kB / 486.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.1555, allocations: 61.8 kB / 486.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.1555, allocations: 0 / 486.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.1555, allocations: 11.97 kB / 486.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1555, allocations: 0 / 486.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.1556, allocations: 39.91 kB / 486.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004886/0.1561, allocations: 392.8 kB / 487 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.1563, allocations: 38.56 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.531e-05/0.1563, allocations: 24.94 kB / 487.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.1564, allocations: 4 kB / 487.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.1564, allocations: 30.56 kB / 487.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1564, allocations: 3.938 kB / 487.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003211/0.1567, allocations: 137 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.1568, allocations: 51.41 kB / 487.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007576/0.1575, allocations: 0.8614 MB / 488.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.1576, allocations: 29.7 kB / 488.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.1577, allocations: 216.1 kB / 488.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.1577, allocations: 15.78 kB / 488.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.1578, allocations: 17.72 kB / 488.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1579, allocations: 362.7 kB / 488.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.121e-05/0.158, allocations: 15.98 kB / 488.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.384e-05/0.158, allocations: 19.98 kB / 488.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.1582, allocations: 48.77 kB / 488.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1582, allocations: 0 / 488.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001845/0.1584, allocations: 113.1 kB / 489 MB, free: 12.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1584, allocations: 4 kB / 489 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1584, allocations: 0 / 489 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1584, allocations: 0 / 489 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.067e-05/0.1585, allocations: 11.98 kB / 489 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1585, allocations: 0 / 489 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.172e-05/0.1586, allocations: 8 kB / 489 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.1586, allocations: 3.984 kB / 489 MB, free: 12.72 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.0001668/0.1588, allocations: 217.7 kB / 489.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-05/0.1588, allocations: 43.44 kB / 489.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/0.1591, allocations: 129 kB / 489.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1591, allocations: 4 kB / 489.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1591, allocations: 0 / 489.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1591, allocations: 4 kB / 489.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.1593, allocations: 293.5 kB / 489.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1594, allocations: 0 / 489.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.021e-05/0.1594, allocations: 8 kB / 489.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.1594, allocations: 384 / 489.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.1594, allocations: 3.984 kB / 489.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1594, allocations: 0 / 489.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1594, allocations: 0 / 489.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.1597, allocations: 222.8 kB / 489.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.645e-05/0.1598, allocations: 108.6 kB / 490 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.1598, allocations: 3.938 kB / 490 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.415e-05/0.1599, allocations: 4 kB / 490 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.303e-05/0.1599, allocations: 3.984 kB / 490 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.1599, allocations: 0 / 490 MB, free: 11.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005644/0.1605, allocations: 0.655 MB / 490.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1605, allocations: 0 / 490.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002388/0.1607, allocations: 24 kB / 490.7 MB, free: 10.91 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.0007727/0.1615, allocations: 343.6 kB / 491 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001779/0.1617, allocations: 47.89 kB / 491.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1617, allocations: 0 / 491.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.411e-05/0.1618, allocations: 27.92 kB / 491.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.1621, allocations: 28.36 kB / 491.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009902/0.1631, allocations: 0.7911 MB / 491.9 MB, free: 9.777 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.1635, allocations: 0.826 MB / 492.7 MB, free: 8.926 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.747e-05/0.1636, allocations: 15.98 kB / 492.8 MB, free: 8.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.632e-05/0.1636, allocations: 11.44 kB / 492.8 MB, free: 8.898 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1636, allocations: 0 / 492.8 MB, free: 8.898 MB / 366.1 MB Notification: Performance of Templates: time 0.004292/0.1679, allocations: 1.286 MB / 494.1 MB, free: 7.617 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches