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.001214/0.001214, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001371/0.001371, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 246.3 MB, free: 9.043 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2205/0.2205, allocations: 46.11 MB / 343.6 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 77.41 kB / 416.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1358, allocations: 62.46 MB / 479.3 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003208/0.1391, allocations: 1.704 MB / 481 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.1401, allocations: 0.5533 MB / 481.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.143e-05/0.1402, allocations: 4 kB / 481.6 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005588/0.1408, allocations: 443.2 kB / 482 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004022/0.1412, allocations: 279.4 kB / 482.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004107/0.1416, allocations: 122.9 kB / 482.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.1418, allocations: 163.7 kB / 482.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.974e-05/0.1419, allocations: 15.94 kB / 482.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.1421, allocations: 99.8 kB / 482.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.1423, allocations: 215.5 kB / 482.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.1423, allocations: 3.938 kB / 482.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.784e-05/0.1424, allocations: 28 kB / 482.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.1425, allocations: 83.69 kB / 483 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.555e-05/0.1426, allocations: 103 kB / 483.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000314/0.143, allocations: 243 kB / 483.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.143, allocations: 0 / 483.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.143, allocations: 0 / 483.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.143, allocations: 0 / 483.3 MB, free: 1.625 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.0007144/0.1437, allocations: 0.6494 MB / 484 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.1438, allocations: 12.88 kB / 484 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.355e-05/0.1438, allocations: 36.47 kB / 484 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.1441, allocations: 300.1 kB / 484.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.1441, allocations: 384 / 484.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.1441, allocations: 4.375 kB / 484.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.1443, allocations: 57.8 kB / 484.4 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1443, allocations: 3.984 kB / 484.4 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.1443, allocations: 4 kB / 484.4 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1443, allocations: 0 / 484.4 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.1445, allocations: 27.92 kB / 484.4 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004813/0.1449, allocations: 384.6 kB / 484.8 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.1452, allocations: 46.56 kB / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.456e-05/0.1453, allocations: 20.88 kB / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.1453, allocations: 0 / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.1453, allocations: 38.56 kB / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.1453, allocations: 0 / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006681/0.146, allocations: 228.2 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.1461, allocations: 55.41 kB / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008692/0.1469, allocations: 0.8653 MB / 486 MB, free: 14.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.147, allocations: 29.64 kB / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.1472, allocations: 228 kB / 486.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.1472, allocations: 11.81 kB / 486.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.1473, allocations: 21.66 kB / 486.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1474, allocations: 366.7 kB / 486.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.802e-05/0.1475, allocations: 23.98 kB / 486.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.312e-05/0.1476, allocations: 16.05 kB / 486.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.1477, allocations: 48.83 kB / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1477, allocations: 0 / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002242/0.148, allocations: 121 kB / 486.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.148, allocations: 4 kB / 486.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.148, allocations: 0 / 486.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.148, allocations: 8 kB / 486.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.651e-05/0.1481, allocations: 11.98 kB / 486.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.1481, allocations: 0 / 486.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.1482, allocations: 11.88 kB / 486.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.1482, allocations: 3.984 kB / 486.9 MB, free: 13.8 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.0001951/0.1484, allocations: 209.8 kB / 487.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.367e-05/0.1485, allocations: 39.53 kB / 487.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000302/0.1488, allocations: 141 kB / 487.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1488, allocations: 0 / 487.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1488, allocations: 0 / 487.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1488, allocations: 3.938 kB / 487.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005302/0.1493, allocations: 454.4 kB / 487.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1493, allocations: 0 / 487.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.026e-05/0.1494, allocations: 20.23 kB / 487.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.1494, allocations: 4 kB / 487.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.1494, allocations: 11.94 kB / 487.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1494, allocations: 0 / 487.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1495, allocations: 0 / 487.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.1497, allocations: 207 kB / 488 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.066e-05/0.1498, allocations: 108.5 kB / 488.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.1498, allocations: 7.938 kB / 488.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.189e-05/0.1499, allocations: 7.984 kB / 488.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/0.1499, allocations: 4 kB / 488.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.1499, allocations: 3.938 kB / 488.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005733/0.1505, allocations: 0.655 MB / 488.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1505, allocations: 0 / 488.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.1508, allocations: 31.98 kB / 488.8 MB, free: 11.81 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.0009213/0.1517, allocations: 393.6 kB / 489.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.1519, allocations: 51.97 kB / 489.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.152, allocations: 0 / 489.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.677e-05/0.152, allocations: 23.98 kB / 489.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.1525, allocations: 24.64 kB / 489.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.1537, allocations: 0.8788 MB / 490.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.1541, allocations: 0.8223 MB / 491 MB, free: 9.703 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.001e-05/0.1541, allocations: 11.98 kB / 491 MB, free: 9.691 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.015e-05/0.1542, allocations: 11.44 kB / 491 MB, free: 9.68 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1542, allocations: 0 / 491 MB, free: 9.68 MB / 366.1 MB Notification: Performance of Templates: time 0.005163/0.1594, allocations: 1.43 MB / 492.4 MB, free: 8.254 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