Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001437/0.001437, allocations: 104 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00185/0.00185, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2276/0.2275, allocations: 46.11 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001424, allocations: 70.88 kB / 417.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1344, allocations: 62.45 MB / 480 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.00422/0.1387, allocations: 1.666 MB / 481.7 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.1398, allocations: 0.5844 MB / 482.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.847e-05/0.1399, allocations: 4 kB / 482.3 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006203/0.1406, allocations: 455.1 kB / 482.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00065/0.1413, allocations: 291.3 kB / 483 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006345/0.1419, allocations: 183.2 kB / 483.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004004/0.1423, allocations: 179.6 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.1425, allocations: 28.19 kB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002537/0.1428, allocations: 111.7 kB / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003969/0.1432, allocations: 211.6 kB / 483.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.065e-05/0.1432, allocations: 11.92 kB / 483.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002218/0.1435, allocations: 47.98 kB / 483.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.1436, allocations: 83.69 kB / 483.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.1438, allocations: 107 kB / 483.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005012/0.1443, allocations: 266.9 kB / 484.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1443, allocations: 0 / 484.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.085e-06/0.1443, allocations: 8 kB / 484.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.714e-05/0.1443, allocations: 0 / 484.2 MB, free: 1.047 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.001101/0.1455, allocations: 0.6494 MB / 484.9 MB, free: 356 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.1455, allocations: 12.03 kB / 484.9 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.967e-05/0.1456, allocations: 40.38 kB / 484.9 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.146, allocations: 300.3 kB / 485.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.146, allocations: 8.375 kB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.146, allocations: 384 / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.1462, allocations: 69.8 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.1462, allocations: 7.984 kB / 485.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.1462, allocations: 0 / 485.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1463, allocations: 0 / 485.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.1464, allocations: 31.92 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006075/0.147, allocations: 412.5 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.1471, allocations: 54.53 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.749e-05/0.1472, allocations: 20.94 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.1472, allocations: 4 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.1473, allocations: 30.56 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.1473, allocations: 0 / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001124/0.1484, allocations: 323.7 kB / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.1485, allocations: 55.34 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008693/0.1494, allocations: 0.8699 MB / 487.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.1494, allocations: 25.7 kB / 487.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.1496, allocations: 228.1 kB / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.1496, allocations: 27.66 kB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-05/0.1497, allocations: 21.7 kB / 487.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1498, allocations: 358.8 kB / 487.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.382e-05/0.1499, allocations: 35.91 kB / 487.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.615e-05/0.15, allocations: 31.97 kB / 487.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.1502, allocations: 76.81 kB / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1502, allocations: 4 kB / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002785/0.1505, allocations: 141.3 kB / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.1505, allocations: 10.5 kB / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1505, allocations: 80 / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1506, allocations: 0 / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.1507, allocations: 23.92 kB / 488 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.1507, allocations: 7.922 kB / 488 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.436e-05/0.1508, allocations: 7.984 kB / 488.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.1508, allocations: 0 / 488.1 MB, free: 12.98 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 (8): * Single equations (assignments): 8 * 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.0002128/0.151, allocations: 221.8 kB / 488.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.447e-05/0.1511, allocations: 43.44 kB / 488.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003851/0.1515, allocations: 169.5 kB / 488.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.1515, allocations: 432 / 488.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.1515, allocations: 3.938 kB / 488.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1515, allocations: 0 / 488.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007014/0.1522, allocations: 0.5225 MB / 489 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.1523, allocations: 7.875 kB / 489 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.571e-05/0.1523, allocations: 23.98 kB / 489 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.1524, allocations: 3.984 kB / 489 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.1524, allocations: 7.938 kB / 489.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1524, allocations: 32 / 489.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1524, allocations: 4 kB / 489.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003174/0.1527, allocations: 247.8 kB / 489.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.529e-05/0.1528, allocations: 112.5 kB / 489.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.1529, allocations: 4 kB / 489.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.355e-05/0.153, allocations: 15.92 kB / 489.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.153, allocations: 4 kB / 489.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.153, allocations: 4 kB / 489.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006971/0.1537, allocations: 0.6589 MB / 490.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1537, allocations: 0 / 490.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000292/0.154, allocations: 28 kB / 490.1 MB, free: 10.8 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.00115/0.1552, allocations: 439.8 kB / 490.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002679/0.1555, allocations: 83.88 kB / 490.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.1555, allocations: 0 / 490.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.1556, allocations: 40.08 kB / 490.7 MB, free: 10.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.1561, allocations: 41.39 kB / 490.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.1573, allocations: 0.8391 MB / 491.5 MB, free: 9.492 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/0.1578, allocations: 0.8299 MB / 492.4 MB, free: 8.637 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.924e-05/0.1578, allocations: 20.42 kB / 492.4 MB, free: 8.617 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.175e-05/0.1579, allocations: 15.44 kB / 492.4 MB, free: 8.602 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1579, allocations: 0 / 492.4 MB, free: 8.602 MB / 366.1 MB Notification: Performance of Templates: time 0.005634/0.1635, allocations: 1.759 MB / 494.2 MB, free: 6.844 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches