Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009565/0.0009564, allocations: 95.33 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001138/0.001138, allocations: 203.2 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.8 MB / 246.8 MB, free: 11.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2267/0.2267, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002648/0.000265, allocations: 12 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.138, allocations: 63.56 MB / 483.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002159/0.1402, allocations: 1.373 MB / 484.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009605/0.1412, allocations: 0.5301 MB / 485 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.675e-05/0.1412, allocations: 0 / 485 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005514/0.1418, allocations: 459.1 kB / 485.4 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004023/0.1422, allocations: 267.5 kB / 485.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.1426, allocations: 123.4 kB / 485.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.1428, allocations: 163.6 kB / 486 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.522e-05/0.1429, allocations: 15.98 kB / 486 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.143, allocations: 99.8 kB / 486.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.1432, allocations: 199.6 kB / 486.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.1433, allocations: 4 kB / 486.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.252e-05/0.1433, allocations: 35.98 kB / 486.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.1435, allocations: 83.61 kB / 486.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.376e-05/0.1436, allocations: 124.7 kB / 486.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.1438, allocations: 247 kB / 486.8 MB, free: 452 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1438, allocations: 0 / 486.8 MB, free: 452 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1438, allocations: 0 / 486.8 MB, free: 452 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1438, allocations: 4 kB / 486.8 MB, free: 448 kB / 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.000684/0.1445, allocations: 0.5914 MB / 487.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1446, allocations: 12.88 kB / 487.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.786e-05/0.1447, allocations: 44.31 kB / 487.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.145, allocations: 300.1 kB / 487.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.145, allocations: 4.312 kB / 487.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.145, allocations: 4.375 kB / 487.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.1452, allocations: 61.8 kB / 487.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1452, allocations: 0 / 487.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.1452, allocations: 0 / 487.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.1452, allocations: 4 kB / 487.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.731e-05/0.1453, allocations: 23.98 kB / 487.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004784/0.1458, allocations: 392.6 kB / 488.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.146, allocations: 50.55 kB / 488.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.247e-05/0.1461, allocations: 16.86 kB / 488.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.1461, allocations: 0 / 488.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.1461, allocations: 30.56 kB / 488.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 3.136e-06/0.1461, allocations: 4 kB / 488.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006621/0.1468, allocations: 248 kB / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.1468, allocations: 55.41 kB / 488.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008373/0.1477, allocations: 0.8653 MB / 489.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.1477, allocations: 25.7 kB / 489.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.1479, allocations: 224.1 kB / 489.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.1479, allocations: 11.88 kB / 489.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.1479, allocations: 21.7 kB / 489.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1481, allocations: 358.7 kB / 490.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.712e-05/0.1482, allocations: 23.98 kB / 490.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.607e-05/0.1482, allocations: 27.92 kB / 490.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.1484, allocations: 52.83 kB / 490.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1484, allocations: 4 kB / 490.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002269/0.1486, allocations: 125.1 kB / 490.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1487, allocations: 4 kB / 490.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1487, allocations: 3.938 kB / 490.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1487, allocations: 288 / 490.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.054e-05/0.1488, allocations: 15.98 kB / 490.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.1488, allocations: 4 kB / 490.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.668e-05/0.1489, allocations: 16.11 kB / 490.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.1489, allocations: 11.94 kB / 490.4 MB, free: 12.61 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.0001859/0.1491, allocations: 209.8 kB / 490.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.1491, allocations: 47.42 kB / 490.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000292/0.1494, allocations: 141.1 kB / 490.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1494, allocations: 0 / 490.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1494, allocations: 0 / 490.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.1495, allocations: 3.938 kB / 490.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005378/0.15, allocations: 470.4 kB / 491.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.15, allocations: 3.938 kB / 491.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.993e-05/0.1501, allocations: 15.98 kB / 491.2 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1501, allocations: 0 / 491.2 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.1501, allocations: 7.938 kB / 491.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1501, allocations: 0 / 491.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1501, allocations: 0 / 491.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.1504, allocations: 226.9 kB / 491.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.724e-05/0.1505, allocations: 108.5 kB / 491.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.487e-05/0.1505, allocations: 11.92 kB / 491.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.945e-05/0.1506, allocations: 8 kB / 491.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.1507, allocations: 4 kB / 491.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.1507, allocations: 4 kB / 491.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006004/0.1513, allocations: 0.655 MB / 492.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1513, allocations: 0 / 492.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.1516, allocations: 24 kB / 492.3 MB, free: 10.59 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.0009109/0.1525, allocations: 395 kB / 492.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002172/0.1527, allocations: 59.97 kB / 492.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1527, allocations: 0 / 492.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.149e-05/0.1528, allocations: 27.92 kB / 492.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.1532, allocations: 30.28 kB / 492.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.1543, allocations: 0.8764 MB / 493.7 MB, free: 9.324 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/0.1548, allocations: 0.8223 MB / 494.5 MB, free: 8.473 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.644e-05/0.1548, allocations: 8 kB / 494.5 MB, free: 8.465 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.1548, allocations: 15.44 kB / 494.5 MB, free: 8.449 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1549, allocations: 0 / 494.5 MB, free: 8.449 MB / 366.1 MB Notification: Performance of Templates: time 0.004406/0.1593, allocations: 1.385 MB / 495.9 MB, free: 7.07 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches