Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.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.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001485/0.001484, allocations: 104.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001905/0.001905, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 246.3 MB, free: 9.066 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2637/0.2637, allocations: 46.11 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 76.16 kB / 416.8 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1438, allocations: 62.45 MB / 479.3 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.003758/0.1477, allocations: 1.722 MB / 481 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.1496, allocations: 1.152 MB / 482.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.513e-05/0.1496, allocations: 0 / 482.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002906/0.1499, allocations: 27.91 kB / 482.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002378/0.1502, allocations: 67.77 kB / 482.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.1506, allocations: 127.1 kB / 482.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.1507, allocations: 63.78 kB / 482.4 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1508, allocations: 15.98 kB / 482.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.205e-05/0.1509, allocations: 27.91 kB / 482.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.1511, allocations: 35.8 kB / 482.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.1511, allocations: 4 kB / 482.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.1512, allocations: 95.86 kB / 482.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.667e-05/0.1513, allocations: 15.98 kB / 482.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.453e-05/0.1514, allocations: 27.8 kB / 482.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.1517, allocations: 139.7 kB / 482.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1517, allocations: 0 / 482.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.1517, allocations: 0 / 482.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1517, allocations: 3.938 kB / 482.8 MB, free: 2.184 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.0006955/0.1524, allocations: 415.4 kB / 483.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.1525, allocations: 12.88 kB / 483.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.408e-05/0.1525, allocations: 8.844 kB / 483.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.1527, allocations: 188.3 kB / 483.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.1528, allocations: 4.375 kB / 483.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.1528, allocations: 4.375 kB / 483.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.153, allocations: 75.5 kB / 483.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.153, allocations: 0 / 483.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.153, allocations: 7.938 kB / 483.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.153, allocations: 7.938 kB / 483.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.1532, allocations: 35.97 kB / 483.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003937/0.1536, allocations: 292.7 kB / 483.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.1537, allocations: 50.55 kB / 483.9 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.698e-05/0.1538, allocations: 24.88 kB / 483.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.1539, allocations: 4 kB / 483.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.1539, allocations: 34.56 kB / 483.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1539, allocations: 0 / 483.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007894/0.1547, allocations: 201.2 kB / 484.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.1548, allocations: 81.11 kB / 484.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.1549, allocations: 156.3 kB / 484.4 MB, free: 424 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.1549, allocations: 25.7 kB / 484.4 MB, free: 392 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.551e-05/0.155, allocations: 92.14 kB / 484.5 MB, free: 296 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.155, allocations: 23.64 kB / 484.5 MB, free: 272 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.1551, allocations: 25.72 kB / 484.5 MB, free: 240 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1552, allocations: 318.8 kB / 484.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.1554, allocations: 32.05 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.1555, allocations: 49.67 kB / 484.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.1557, allocations: 81.06 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1557, allocations: 0 / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002687/0.156, allocations: 113.5 kB / 485.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.156, allocations: 4 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.156, allocations: 3.984 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1561, allocations: 0 / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.1562, allocations: 23.98 kB / 485.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1562, allocations: 0 / 485.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.717e-05/0.1563, allocations: 11.92 kB / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.1563, allocations: 4 kB / 485.2 MB, free: 15.58 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.915e-05/0.1564, allocations: 117.8 kB / 485.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/0.1565, allocations: 7.906 kB / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000315/0.1568, allocations: 126.3 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.1568, allocations: 4 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1568, allocations: 0 / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.1568, allocations: 8.203 kB / 485.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005251/0.1574, allocations: 390.4 kB / 485.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1574, allocations: 4 kB / 485.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.25e-05/0.1575, allocations: 19.98 kB / 485.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1575, allocations: 3.984 kB / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.1575, allocations: 7.938 kB / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1575, allocations: 0 / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.1575, allocations: 4 kB / 485.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.1578, allocations: 207.4 kB / 486 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.011e-05/0.1579, allocations: 92.94 kB / 486.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.1579, allocations: 7.938 kB / 486.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.545e-05/0.158, allocations: 11.98 kB / 486.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.158, allocations: 7.875 kB / 486.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.158, allocations: 4 kB / 486.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.771e-05/0.1581, allocations: 117.8 kB / 486.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1581, allocations: 0 / 486.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002955/0.1584, allocations: 43.98 kB / 486.3 MB, free: 14.32 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.001156/0.1596, allocations: 487.5 kB / 486.8 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002836/0.1599, allocations: 79.92 kB / 486.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1599, allocations: 0 / 486.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.1601, allocations: 43.91 kB / 486.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.1604, allocations: 27.89 kB / 486.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004942/0.1609, allocations: 211.7 kB / 487.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.1613, allocations: 0.7004 MB / 487.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.892e-05/0.1614, allocations: 12.3 kB / 487.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.581e-05/0.1614, allocations: 23.36 kB / 487.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1614, allocations: 0 / 487.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of Templates: time 0.004446/0.1659, allocations: 1.823 MB / 489.7 MB, free: 11.03 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches