Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001411/0.001412, allocations: 115.9 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.001638/0.001639, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2333/0.2333, allocations: 46.11 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 75.88 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1456, allocations: 62.45 MB / 481.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003469/0.1491, allocations: 1.678 MB / 483.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.1504, allocations: 0.5805 MB / 483.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.41e-05/0.1505, allocations: 0 / 483.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003357/0.1509, allocations: 79.7 kB / 483.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.1512, allocations: 103.6 kB / 483.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004778/0.1517, allocations: 179.4 kB / 484.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.1519, allocations: 95.73 kB / 484.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.152, allocations: 24.22 kB / 484.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.158e-05/0.1521, allocations: 39.83 kB / 484.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.1522, allocations: 59.81 kB / 484.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.1523, allocations: 4 kB / 484.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.1524, allocations: 51.97 kB / 484.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.162e-05/0.1525, allocations: 31.86 kB / 484.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.669e-05/0.1525, allocations: 27.75 kB / 484.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.1527, allocations: 127.5 kB / 484.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1527, allocations: 4 kB / 484.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1527, allocations: 0 / 484.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1528, allocations: 0 / 484.5 MB, free: 1.445 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.000537/0.1533, allocations: 430.9 kB / 485 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.1533, allocations: 8.031 kB / 485 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.1534, allocations: 8.844 kB / 485 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.1536, allocations: 208 kB / 485.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.1536, allocations: 4.312 kB / 485.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.1537, allocations: 8.375 kB / 485.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.1539, allocations: 77.72 kB / 485.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1539, allocations: 0 / 485.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.1539, allocations: 0 / 485.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1539, allocations: 0 / 485.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.1541, allocations: 43.95 kB / 485.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005126/0.1546, allocations: 332.6 kB / 485.6 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.1548, allocations: 54.55 kB / 485.7 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.36e-05/0.1549, allocations: 24.97 kB / 485.7 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.1549, allocations: 11.92 kB / 485.7 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.155, allocations: 34.59 kB / 485.7 MB, free: 64 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.155, allocations: 4 kB / 485.8 MB, free: 60 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001405/0.1564, allocations: 424.8 kB / 486.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.1565, allocations: 63.34 kB / 486.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.1566, allocations: 210.3 kB / 486.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.1567, allocations: 25.7 kB / 486.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.891e-05/0.1567, allocations: 108.1 kB / 486.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.1568, allocations: 31.47 kB / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.516e-05/0.1568, allocations: 33.7 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1569, allocations: 322.8 kB / 486.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.1571, allocations: 51.95 kB / 487 MB, free: 14.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.1572, allocations: 55.95 kB / 487.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.1575, allocations: 132.7 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1575, allocations: 0 / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003042/0.1578, allocations: 165.7 kB / 487.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1578, allocations: 4 kB / 487.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1578, allocations: 0 / 487.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1578, allocations: 4 kB / 487.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.158, allocations: 39.91 kB / 487.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.158, allocations: 0 / 487.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.911e-05/0.158, allocations: 7.984 kB / 487.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.1581, allocations: 4 kB / 487.4 MB, free: 14.35 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 9.402e-05/0.1582, allocations: 133.8 kB / 487.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.1582, allocations: 15.81 kB / 487.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004004/0.1586, allocations: 194.9 kB / 487.7 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.1586, allocations: 3.938 kB / 487.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1586, allocations: 0.5625 kB / 487.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1586, allocations: 7.984 kB / 487.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006645/0.1593, allocations: 0.4999 MB / 488.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1593, allocations: 4 kB / 488.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.1594, allocations: 35.91 kB / 488.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1595, allocations: 0 / 488.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.1595, allocations: 4 kB / 488.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1595, allocations: 0 / 488.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1595, allocations: 0 / 488.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003703/0.1599, allocations: 285 kB / 488.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.506e-05/0.1599, allocations: 89 kB / 488.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.1599, allocations: 0 / 488.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.538e-05/0.16, allocations: 11.98 kB / 488.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.1601, allocations: 19.92 kB / 488.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.1601, allocations: 4 kB / 488.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.1603, allocations: 164.2 kB / 488.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1603, allocations: 0 / 488.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.1605, allocations: 28 kB / 488.9 MB, free: 12.75 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.001001/0.1615, allocations: 454.9 kB / 489.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003229/0.1619, allocations: 123.9 kB / 489.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1619, allocations: 0 / 489.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.162, allocations: 75.89 kB / 489.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.1624, allocations: 27.61 kB / 489.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005853/0.163, allocations: 336.6 kB / 489.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.1633, allocations: 0.7198 MB / 490.6 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.503e-05/0.1634, allocations: 32.52 kB / 490.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.1635, allocations: 19.42 kB / 490.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1635, allocations: 0 / 490.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of Templates: time 0.004349/0.1678, allocations: 1.63 MB / 492.3 MB, free: 9.461 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches