Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001476/0.001476, allocations: 115.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001669/0.001669, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2164/0.2164, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.00158, allocations: 75.72 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1448, allocations: 62.44 MB / 481.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003385/0.1482, allocations: 1.658 MB / 483.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.1502, allocations: 1.199 MB / 484.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.985e-05/0.1503, allocations: 8 kB / 484.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002563/0.1506, allocations: 27.84 kB / 484.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.1509, allocations: 87.55 kB / 484.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004373/0.1514, allocations: 171.1 kB / 484.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.1516, allocations: 83.81 kB / 484.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.1517, allocations: 15.98 kB / 484.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.098e-05/0.1518, allocations: 31.86 kB / 484.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.152, allocations: 39.77 kB / 484.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.152, allocations: 4 kB / 484.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.1522, allocations: 107.9 kB / 484.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.58e-05/0.1523, allocations: 19.98 kB / 484.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.52e-05/0.1523, allocations: 35.78 kB / 484.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.1526, allocations: 139.7 kB / 485.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1526, allocations: 0 / 485.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1526, allocations: 0 / 485.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.1527, allocations: 0 / 485.1 MB, free: 0.8789 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006426/0.1533, allocations: 419 kB / 485.5 MB, free: 432 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.1534, allocations: 8.031 kB / 485.5 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.321e-05/0.1534, allocations: 8.844 kB / 485.5 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.1537, allocations: 200.2 kB / 485.7 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1537, allocations: 384 / 485.7 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.1537, allocations: 8.359 kB / 485.7 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.1539, allocations: 79.52 kB / 485.8 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.154, allocations: 0 / 485.8 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.154, allocations: 4 kB / 485.8 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.154, allocations: 0 / 485.8 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.1542, allocations: 47.89 kB / 485.8 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005098/0.1547, allocations: 304.7 kB / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.1548, allocations: 46.55 kB / 486.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.828e-05/0.1549, allocations: 24.94 kB / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.155, allocations: 12.06 kB / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.155, allocations: 34.5 kB / 486.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.155, allocations: 0 / 486.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.000802/0.1558, allocations: 241.1 kB / 486.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.1559, allocations: 81.11 kB / 486.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.156, allocations: 148.3 kB / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.1561, allocations: 25.7 kB / 486.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/0.1561, allocations: 100 kB / 486.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.1562, allocations: 23.66 kB / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.366e-05/0.1562, allocations: 21.7 kB / 486.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1563, allocations: 322.8 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.1565, allocations: 39.95 kB / 487.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.1566, allocations: 53.69 kB / 487.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.1568, allocations: 84.8 kB / 487.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1568, allocations: 4.031 kB / 487.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002624/0.1571, allocations: 133.4 kB / 487.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1571, allocations: 4 kB / 487.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1571, allocations: 0 / 487.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1571, allocations: 0 / 487.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.1573, allocations: 27.97 kB / 487.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.1573, allocations: 0 / 487.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.568e-05/0.1574, allocations: 15.94 kB / 487.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.1574, allocations: 3.984 kB / 487.5 MB, free: 14.16 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 (7): * Single equations (assignments): 7 * 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 8.702e-05/0.1575, allocations: 117.8 kB / 487.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.1575, allocations: 7.906 kB / 487.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003549/0.1579, allocations: 138.3 kB / 487.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1579, allocations: 0 / 487.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1579, allocations: 4 kB / 487.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1579, allocations: 3.938 kB / 487.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005687/0.1585, allocations: 410.9 kB / 488.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.1585, allocations: 3.984 kB / 488.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.443e-05/0.1586, allocations: 23.92 kB / 488.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1586, allocations: 0 / 488.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1586, allocations: 7.938 kB / 488.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1586, allocations: 0 / 488.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1586, allocations: 4 kB / 488.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.159, allocations: 219.5 kB / 488.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.843e-05/0.1591, allocations: 81.02 kB / 488.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.1591, allocations: 7.938 kB / 488.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.518e-05/0.1592, allocations: 19.98 kB / 488.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.1593, allocations: 7.984 kB / 488.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.1593, allocations: 0 / 488.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.1594, allocations: 115.2 kB / 488.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1594, allocations: 0 / 488.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003146/0.1597, allocations: 43.94 kB / 488.7 MB, free: 12.87 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 (7): * Single equations (assignments): 7 * 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.001205/0.1609, allocations: 493.2 kB / 489.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003137/0.1613, allocations: 91.92 kB / 489.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1613, allocations: 0 / 489.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.1614, allocations: 51.91 kB / 489.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.1618, allocations: 18.92 kB / 489.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005395/0.1623, allocations: 226.1 kB / 489.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.1627, allocations: 0.7001 MB / 490.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.05e-05/0.1628, allocations: 24.64 kB / 490.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.881e-05/0.1629, allocations: 19.42 kB / 490.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1629, allocations: 4 kB / 490.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of Templates: time 0.005273/0.1682, allocations: 1.923 MB / 492.3 MB, free: 9.445 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches