Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001625/0.001625, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00193/0.00193, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 227.4 MB / 247.5 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.236/0.236, allocations: 46.12 MB / 344.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 75.48 kB / 418.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.141, allocations: 62.45 MB / 480.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003334/0.1444, allocations: 1.611 MB / 482.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.1456, allocations: 0.5611 MB / 482.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.826e-05/0.1457, allocations: 0 / 482.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007077/0.1465, allocations: 451.1 kB / 483.4 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005584/0.1471, allocations: 303.2 kB / 483.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005367/0.1476, allocations: 170.8 kB / 483.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002933/0.1479, allocations: 167.7 kB / 484 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.148, allocations: 15.94 kB / 484 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.1482, allocations: 107.8 kB / 484.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002877/0.1485, allocations: 211.6 kB / 484.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.1485, allocations: 4 kB / 484.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.844e-05/0.1486, allocations: 24 kB / 484.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.1488, allocations: 79.69 kB / 484.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.1489, allocations: 106.9 kB / 484.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.1492, allocations: 239 kB / 484.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1493, allocations: 0 / 484.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1493, allocations: 0 / 484.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.1493, allocations: 0 / 484.8 MB, free: 1.223 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.000927/0.1502, allocations: 0.6377 MB / 485.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.1503, allocations: 8.031 kB / 485.4 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.876e-05/0.1504, allocations: 40.47 kB / 485.5 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.1507, allocations: 300.1 kB / 485.8 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.133e-06/0.1507, allocations: 384 / 485.8 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.1508, allocations: 384 / 485.8 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.1509, allocations: 57.75 kB / 485.8 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.1509, allocations: 0 / 485.8 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.151, allocations: 0 / 485.8 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.151, allocations: 4 kB / 485.8 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.905e-05/0.1511, allocations: 31.91 kB / 485.8 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006798/0.1518, allocations: 384.7 kB / 486.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.1519, allocations: 42.5 kB / 486.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.95e-05/0.152, allocations: 12.91 kB / 486.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.152, allocations: 8 kB / 486.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.1521, allocations: 34.56 kB / 486.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.1521, allocations: 3.938 kB / 486.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003291/0.1524, allocations: 101.1 kB / 486.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/0.1525, allocations: 51.41 kB / 486.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.1535, allocations: 0.866 MB / 487.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1536, allocations: 25.7 kB / 487.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000251/0.1538, allocations: 228.2 kB / 487.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.1539, allocations: 7.906 kB / 487.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-05/0.1539, allocations: 17.7 kB / 487.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002302/0.1542, allocations: 362.7 kB / 488 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.894e-05/0.1542, allocations: 11.98 kB / 488 MB, free: 13.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.207e-05/0.1543, allocations: 8 kB / 488 MB, free: 13.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.1544, allocations: 28.91 kB / 488 MB, free: 13.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.1544, allocations: 0 / 488 MB, free: 13.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001943/0.1546, allocations: 93.2 kB / 488.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.1546, allocations: 6.5 kB / 488.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1547, allocations: 0 / 488.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.1547, allocations: 0 / 488.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.084e-05/0.1548, allocations: 11.92 kB / 488.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.1548, allocations: 0 / 488.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.389e-05/0.1549, allocations: 11.91 kB / 488.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.1549, allocations: 4.031 kB / 488.1 MB, free: 13.64 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.0002267/0.1551, allocations: 213.7 kB / 488.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.537e-05/0.1552, allocations: 43.52 kB / 488.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.1555, allocations: 108.7 kB / 488.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1555, allocations: 0 / 488.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1555, allocations: 0 / 488.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1555, allocations: 0 / 488.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003359/0.1558, allocations: 285.5 kB / 488.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1558, allocations: 8.031 kB / 488.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.422e-05/0.1559, allocations: 7.984 kB / 488.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1559, allocations: 7.922 kB / 488.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.1559, allocations: 0 / 488.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1559, allocations: 7.938 kB / 488.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1559, allocations: 0 / 488.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.1562, allocations: 194.9 kB / 489 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.1563, allocations: 112.5 kB / 489.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.1563, allocations: 0 / 489.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.228e-05/0.1564, allocations: 0 / 489.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/0.1564, allocations: 4 kB / 489.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.1564, allocations: 3.984 kB / 489.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007074/0.1571, allocations: 0.655 MB / 489.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1572, allocations: 0 / 489.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.1574, allocations: 15.94 kB / 489.8 MB, free: 11.89 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.00139/0.1588, allocations: 352.4 kB / 490.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.159, allocations: 27.92 kB / 490.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.159, allocations: 0 / 490.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.588e-05/0.1591, allocations: 16.05 kB / 490.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004492/0.1595, allocations: 25.3 kB / 490.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.1609, allocations: 0.8164 MB / 491 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005262/0.1614, allocations: 0.8221 MB / 491.8 MB, free: 9.895 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.575e-05/0.1614, allocations: 15.44 kB / 491.8 MB, free: 9.879 MB / 366.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1614, allocations: 3.938 kB / 491.9 MB, free: 9.875 MB / 366.1 MB Notification: Performance of Templates: time 0.007769/0.1692, allocations: 3.524 MB / 495.4 MB, free: 6.34 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches