Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00119/0.00119, allocations: 115.8 kB / 17.33 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001493/0.001494, allocations: 209.8 kB / 18.27 MB, free: 5.07 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.4 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2262/0.2262, allocations: 46.1 MB / 343.8 MB, free: 11.67 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00219/0.002191, allocations: 75.06 kB / 417 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1477, allocations: 62.44 MB / 479.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003669/0.1514, allocations: 1.743 MB / 481.2 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009472/0.1524, allocations: 0.5455 MB / 481.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.039e-05/0.1525, allocations: 0 / 481.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.1528, allocations: 43.81 kB / 481.8 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002924/0.1531, allocations: 79.8 kB / 481.9 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.1534, allocations: 123 kB / 482 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.1536, allocations: 83.75 kB / 482.1 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1537, allocations: 20.22 kB / 482.1 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.474e-05/0.1538, allocations: 27.86 kB / 482.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.1539, allocations: 51.77 kB / 482.2 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.1539, allocations: 4 kB / 482.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.1541, allocations: 47.98 kB / 482.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.631e-05/0.1542, allocations: 27.91 kB / 482.3 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.036e-05/0.1542, allocations: 31.8 kB / 482.3 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.1544, allocations: 103.7 kB / 482.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1544, allocations: 0 / 482.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1544, allocations: 0 / 482.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1544, allocations: 0 / 482.4 MB, free: 2.668 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005358/0.155, allocations: 415.2 kB / 482.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.155, allocations: 12.03 kB / 482.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.49e-05/0.1551, allocations: 12.78 kB / 482.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.1553, allocations: 192.7 kB / 483 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.1553, allocations: 8.359 kB / 483 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.1553, allocations: 15.92 kB / 483 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.1555, allocations: 57.67 kB / 483.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1555, allocations: 0 / 483.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.1556, allocations: 0 / 483.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1556, allocations: 8 kB / 483.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.1557, allocations: 39.91 kB / 483.2 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003748/0.1561, allocations: 300.7 kB / 483.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.1563, allocations: 62.58 kB / 483.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.158e-05/0.1564, allocations: 24.97 kB / 483.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.1564, allocations: 4 kB / 483.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.1565, allocations: 30.56 kB / 483.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.1565, allocations: 0 / 483.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001409/0.1579, allocations: 409.2 kB / 484 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.1579, allocations: 55.34 kB / 484 MB, free: 0.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.1581, allocations: 170.5 kB / 484.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.1581, allocations: 29.64 kB / 484.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.538e-05/0.1582, allocations: 112 kB / 484.3 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/0.1583, allocations: 35.53 kB / 484.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.1583, allocations: 25.72 kB / 484.4 MB, free: 496 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1584, allocations: 322.8 kB / 484.7 MB, free: 164 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.1585, allocations: 43.95 kB / 484.7 MB, free: 120 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.1587, allocations: 43.97 kB / 484.8 MB, free: 76 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.1589, allocations: 97.08 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1589, allocations: 4 kB / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003045/0.1592, allocations: 149.4 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1593, allocations: 8 kB / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1593, allocations: 3.938 kB / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1593, allocations: 0 / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.1594, allocations: 27.92 kB / 485.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1594, allocations: 0 / 485.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.183e-05/0.1595, allocations: 15.98 kB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.1595, allocations: 0 / 485.1 MB, free: 15.77 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 (11): * Single equations (assignments): 11 * 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.0001034/0.1596, allocations: 125.8 kB / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.1597, allocations: 11.91 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003686/0.16, allocations: 170.1 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.654e-06/0.16, allocations: 4 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1601, allocations: 0 / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1601, allocations: 0 / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006319/0.1607, allocations: 467.9 kB / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1607, allocations: 4.062 kB / 485.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.1608, allocations: 27.97 kB / 485.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1608, allocations: 0 / 485.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.1608, allocations: 8 kB / 485.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1609, allocations: 0 / 485.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1609, allocations: 0 / 485.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.1612, allocations: 253 kB / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.1613, allocations: 92.95 kB / 486.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.1613, allocations: 7.938 kB / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.1614, allocations: 11.98 kB / 486.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.1615, allocations: 7.984 kB / 486.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.1615, allocations: 8.125 kB / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.242e-05/0.1616, allocations: 134.3 kB / 486.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1616, allocations: 0 / 486.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.1619, allocations: 27.98 kB / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009986/0.1629, allocations: 463 kB / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003198/0.1632, allocations: 107.8 kB / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1632, allocations: 0 / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.1634, allocations: 63.89 kB / 487 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.1637, allocations: 24.11 kB / 487.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005446/0.1643, allocations: 295.9 kB / 487.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.1645, allocations: 0.7041 MB / 488.1 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.748e-05/0.1646, allocations: 24.52 kB / 488.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.898e-05/0.1647, allocations: 19.44 kB / 488.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1647, allocations: 0 / 488.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of Templates: time 0.003936/0.1686, allocations: 1.496 MB / 489.6 MB, free: 11.25 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches