Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001274/0.001274, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001258/0.001258, allocations: 212.6 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2379/0.2379, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 72.94 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1372, allocations: 62.45 MB / 480 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003325/0.1406, allocations: 1.648 MB / 481.7 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009967/0.1416, allocations: 0.5767 MB / 482.2 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.84e-05/0.1417, allocations: 0 / 482.2 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005686/0.1423, allocations: 459.1 kB / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004381/0.1427, allocations: 299.2 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004125/0.1431, allocations: 179.1 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.1434, allocations: 167.7 kB / 483.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.1435, allocations: 19.98 kB / 483.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.1436, allocations: 107.8 kB / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.1439, allocations: 211.6 kB / 483.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.1439, allocations: 4 kB / 483.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.758e-05/0.144, allocations: 39.98 kB / 483.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.1441, allocations: 87.62 kB / 483.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.019e-05/0.1442, allocations: 103 kB / 483.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.1445, allocations: 247 kB / 484.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1445, allocations: 4 kB / 484.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.1445, allocations: 0 / 484.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.1445, allocations: 3.938 kB / 484.1 MB, free: 1.148 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.0006759/0.1452, allocations: 0.6455 MB / 484.8 MB, free: 464 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.1452, allocations: 8.031 kB / 484.8 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.688e-05/0.1453, allocations: 44.38 kB / 484.8 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.1456, allocations: 296.2 kB / 485.1 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.1456, allocations: 4.375 kB / 485.1 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.1456, allocations: 4.375 kB / 485.1 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.1458, allocations: 61.73 kB / 485.2 MB, free: 0 / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1458, allocations: 0 / 485.2 MB, free: 0 / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.1458, allocations: 0 / 485.2 MB, free: 0 / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1459, allocations: 8.047 kB / 485.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.146, allocations: 35.84 kB / 485.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005048/0.1465, allocations: 392.7 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.1467, allocations: 46.48 kB / 485.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.179e-05/0.1468, allocations: 24.8 kB / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.1468, allocations: 0 / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.1469, allocations: 34.66 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1469, allocations: 0 / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006629/0.1475, allocations: 239.8 kB / 486 MB, free: 15.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.1476, allocations: 59.39 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007859/0.1484, allocations: 0.866 MB / 486.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.1484, allocations: 29.7 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.1486, allocations: 220.1 kB / 487.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.1486, allocations: 11.81 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.1487, allocations: 21.7 kB / 487.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1488, allocations: 362.7 kB / 487.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.223e-05/0.1489, allocations: 19.98 kB / 487.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.195e-05/0.149, allocations: 27.97 kB / 487.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.1491, allocations: 52.83 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1491, allocations: 0 / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002157/0.1493, allocations: 121 kB / 487.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1494, allocations: 8 kB / 487.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.1494, allocations: 4.234 kB / 487.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1494, allocations: 0 / 487.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.216e-05/0.1495, allocations: 16 kB / 487.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1495, allocations: 3.984 kB / 487.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.762e-05/0.1495, allocations: 15.86 kB / 487.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.1496, allocations: 4 kB / 487.8 MB, free: 13.28 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 (5): * Single equations (assignments): 5 * 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.0002079/0.1498, allocations: 209.8 kB / 488 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.667e-05/0.1498, allocations: 47.42 kB / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002866/0.1501, allocations: 145.1 kB / 488.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1501, allocations: 0 / 488.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1501, allocations: 0 / 488.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1502, allocations: 3.938 kB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005152/0.1507, allocations: 470.5 kB / 488.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1507, allocations: 0 / 488.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.631e-05/0.1508, allocations: 11.94 kB / 488.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1508, allocations: 8 kB / 488.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.1508, allocations: 7.922 kB / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1508, allocations: 7.875 kB / 488.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1508, allocations: 0 / 488.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.1511, allocations: 219 kB / 488.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.297e-05/0.1511, allocations: 104.6 kB / 489 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.1512, allocations: 3.938 kB / 489 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.025e-05/0.1513, allocations: 8 kB / 489 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.1513, allocations: 11.98 kB / 489 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.1513, allocations: 192 / 489 MB, free: 11.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000591/0.1519, allocations: 0.6511 MB / 489.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1519, allocations: 0 / 489.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00025/0.1522, allocations: 31.89 kB / 489.7 MB, free: 11.26 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 (5): * Single equations (assignments): 5 * 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.0008807/0.1531, allocations: 391.5 kB / 490.1 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002039/0.1533, allocations: 59.97 kB / 490.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1533, allocations: 4 kB / 490.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.801e-05/0.1534, allocations: 31.91 kB / 490.2 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.1538, allocations: 32.16 kB / 490.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.1548, allocations: 0.8033 MB / 491 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.1553, allocations: 0.826 MB / 491.8 MB, free: 9.207 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.618e-05/0.1553, allocations: 19.91 kB / 491.8 MB, free: 9.188 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/0.1554, allocations: 11.44 kB / 491.9 MB, free: 9.176 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1554, allocations: 0 / 491.9 MB, free: 9.176 MB / 366.1 MB Notification: Performance of Templates: time 0.004632/0.16, allocations: 1.505 MB / 493.4 MB, free: 7.672 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches