Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001349/0.001349, allocations: 100.5 kB / 17.85 MB, free: 5.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001553/0.001554, allocations: 209.7 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 246.9 MB, free: 9.027 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2173/0.2173, allocations: 46.11 MB / 344.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002546/0.002546, allocations: 75.88 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1452, allocations: 62.45 MB / 479.9 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003188/0.1484, allocations: 1.662 MB / 481.6 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.1495, allocations: 0.5651 MB / 482.2 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.322e-05/0.1496, allocations: 4 kB / 482.2 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005382/0.1501, allocations: 451.2 kB / 482.6 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004068/0.1506, allocations: 275.5 kB / 482.9 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004289/0.151, allocations: 163 kB / 483 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002229/0.1512, allocations: 155.8 kB / 483.2 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.915e-05/0.1513, allocations: 19.98 kB / 483.2 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.1515, allocations: 111.7 kB / 483.3 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.1518, allocations: 199.6 kB / 483.5 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.1518, allocations: 4 kB / 483.5 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.708e-05/0.1519, allocations: 23.92 kB / 483.5 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.152, allocations: 87.67 kB / 483.6 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.999e-05/0.1521, allocations: 99 kB / 483.7 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.1523, allocations: 175.8 kB / 483.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1523, allocations: 0 / 483.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1523, allocations: 4 kB / 483.9 MB, free: 1.711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.1523, allocations: 0 / 483.9 MB, free: 1.711 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.0006802/0.153, allocations: 0.6261 MB / 484.5 MB, free: 1.035 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1531, allocations: 12.88 kB / 484.5 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.427e-05/0.1531, allocations: 36.47 kB / 484.6 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/0.1534, allocations: 308.1 kB / 484.9 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.1534, allocations: 4.359 kB / 484.9 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.1535, allocations: 8.312 kB / 484.9 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.1536, allocations: 53.81 kB / 484.9 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.1536, allocations: 4 kB / 484.9 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1536, allocations: 0 / 484.9 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.1536, allocations: 0 / 484.9 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.06e-05/0.1537, allocations: 19.98 kB / 485 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004746/0.1542, allocations: 396.6 kB / 485.3 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.706e-05/0.1543, allocations: 34.56 kB / 485.4 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.746e-05/0.1544, allocations: 12.92 kB / 485.4 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.1544, allocations: 0 / 485.4 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.1544, allocations: 34.56 kB / 485.4 MB, free: 16 kB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.1544, allocations: 4 kB / 485.4 MB, free: 12 kB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002972/0.1547, allocations: 105.2 kB / 485.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.1548, allocations: 51.41 kB / 485.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008585/0.1557, allocations: 0.866 MB / 486.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.1557, allocations: 25.7 kB / 486.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.1559, allocations: 228.1 kB / 486.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.1559, allocations: 3.906 kB / 486.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.1559, allocations: 21.84 kB / 486.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1561, allocations: 366.7 kB / 487.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.656e-05/0.1561, allocations: 8 kB / 487.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.854e-05/0.1562, allocations: 11.98 kB / 487.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.137e-05/0.1563, allocations: 24.84 kB / 487.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1563, allocations: 0 / 487.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001619/0.1564, allocations: 101.2 kB / 487.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.1565, allocations: 4 kB / 487.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1565, allocations: 3.984 kB / 487.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1565, allocations: 0 / 487.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.474e-05/0.1566, allocations: 8 kB / 487.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1566, allocations: 0 / 487.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.959e-05/0.1566, allocations: 3.906 kB / 487.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1566, allocations: 7.984 kB / 487.2 MB, free: 14.12 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 (2): * Single equations (assignments): 2 * 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.0001873/0.1568, allocations: 221.7 kB / 487.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.367e-05/0.1569, allocations: 35.53 kB / 487.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002023/0.1571, allocations: 112.7 kB / 487.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1571, allocations: 0 / 487.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1571, allocations: 3.828 kB / 487.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1571, allocations: 4 kB / 487.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.1574, allocations: 281.5 kB / 487.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1574, allocations: 0 / 487.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.813e-05/0.1575, allocations: 4 kB / 487.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.1575, allocations: 8.031 kB / 487.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.1575, allocations: 3.984 kB / 487.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.1575, allocations: 0 / 487.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1575, allocations: 0 / 487.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.1577, allocations: 190.9 kB / 488.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.229e-05/0.1578, allocations: 112.5 kB / 488.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.1578, allocations: 4 kB / 488.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.683e-05/0.1579, allocations: 8.031 kB / 488.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.225e-05/0.1579, allocations: 3.938 kB / 488.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.1579, allocations: 0 / 488.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005924/0.1585, allocations: 0.6589 MB / 488.9 MB, free: 12.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1585, allocations: 0 / 488.9 MB, free: 12.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.1588, allocations: 16 kB / 488.9 MB, free: 12.38 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 (2): * Single equations (assignments): 2 * 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.000786/0.1596, allocations: 356.9 kB / 489.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000146/0.1598, allocations: 23.98 kB / 489.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1598, allocations: 3.938 kB / 489.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.523e-05/0.1598, allocations: 11.98 kB / 489.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.1602, allocations: 22.44 kB / 489.3 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.1614, allocations: 0.8884 MB / 490.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.1618, allocations: 0.8185 MB / 491 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.1619, allocations: 15.42 kB / 491 MB, free: 10.3 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1619, allocations: 0 / 491 MB, free: 10.3 MB / 366.1 MB Notification: Performance of Templates: time 0.006764/0.1687, allocations: 3.512 MB / 494.5 MB, free: 6.781 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches