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.001402/0.001402, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001543/0.001543, allocations: 212 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2257/0.2257, allocations: 46.1 MB / 344.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 75.23 kB / 418.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.121, allocations: 62.45 MB / 480.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003481/0.1245, allocations: 1.644 MB / 482.3 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.1256, allocations: 0.5805 MB / 482.9 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.224e-05/0.1257, allocations: 0 / 482.9 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005862/0.1263, allocations: 455.1 kB / 483.4 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005171/0.1269, allocations: 299.3 kB / 483.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004909/0.1274, allocations: 174.8 kB / 483.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.1277, allocations: 175.6 kB / 484 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.1278, allocations: 20 kB / 484 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.128, allocations: 107.8 kB / 484.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.1282, allocations: 211.6 kB / 484.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.1282, allocations: 4 kB / 484.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.1284, allocations: 39.91 kB / 484.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.1285, allocations: 83.64 kB / 484.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.1286, allocations: 107 kB / 484.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003102/0.1289, allocations: 251 kB / 484.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.1289, allocations: 3.984 kB / 484.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1289, allocations: 0 / 484.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.1289, allocations: 4 kB / 484.8 MB, free: 1.145 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.000768/0.1297, allocations: 0.6378 MB / 485.4 MB, free: 468 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.1298, allocations: 8.031 kB / 485.5 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.565e-05/0.1298, allocations: 44.38 kB / 485.5 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.1302, allocations: 300.1 kB / 485.8 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-06/0.1302, allocations: 8.312 kB / 485.8 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.1302, allocations: 384 / 485.8 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.1304, allocations: 61.8 kB / 485.9 MB, free: 0 / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1304, allocations: 4.047 kB / 485.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1304, allocations: 0 / 485.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1304, allocations: 0 / 485.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.1306, allocations: 35.97 kB / 485.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005338/0.1311, allocations: 396.6 kB / 486.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.1313, allocations: 46.56 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.474e-05/0.1314, allocations: 16.94 kB / 486.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.1314, allocations: 0 / 486.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.1315, allocations: 34.56 kB / 486.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1315, allocations: 0 / 486.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006855/0.1322, allocations: 243.8 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.1322, allocations: 55.41 kB / 486.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008565/0.1331, allocations: 0.8698 MB / 487.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.1331, allocations: 25.7 kB / 487.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.1333, allocations: 228.2 kB / 487.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.1333, allocations: 11.8 kB / 487.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.1334, allocations: 17.72 kB / 487.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.1335, allocations: 370.7 kB / 488.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.768e-05/0.1336, allocations: 23.98 kB / 488.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.397e-05/0.1337, allocations: 23.92 kB / 488.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.1339, allocations: 52.83 kB / 488.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1339, allocations: 0 / 488.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002195/0.1341, allocations: 125.3 kB / 488.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1341, allocations: 4 kB / 488.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1341, allocations: 4 kB / 488.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.1342, allocations: 4 kB / 488.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/0.1342, allocations: 11.98 kB / 488.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/0.1342, allocations: 0 / 488.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.753e-05/0.1343, allocations: 15.81 kB / 488.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.1343, allocations: 0 / 488.4 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.0002007/0.1345, allocations: 217.8 kB / 488.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.13e-05/0.1346, allocations: 39.44 kB / 488.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/0.1349, allocations: 149.1 kB / 488.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1349, allocations: 0 / 488.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1349, allocations: 0 / 488.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1349, allocations: 3.938 kB / 488.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005738/0.1355, allocations: 470.4 kB / 489.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1355, allocations: 0 / 489.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.819e-05/0.1356, allocations: 15.98 kB / 489.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1356, allocations: 3.938 kB / 489.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.1356, allocations: 7.938 kB / 489.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1356, allocations: 0 / 489.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1356, allocations: 0 / 489.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.1359, allocations: 218.9 kB / 489.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.256e-05/0.136, allocations: 112.7 kB / 489.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.136, allocations: 8.188 kB / 489.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.109e-05/0.1361, allocations: 7.984 kB / 489.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.1361, allocations: 4 kB / 489.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.1362, allocations: 4 kB / 489.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006727/0.1368, allocations: 0.6589 MB / 490.3 MB, free: 11.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1368, allocations: 0 / 490.3 MB, free: 11.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.1371, allocations: 27.91 kB / 490.4 MB, free: 11.25 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.0009284/0.138, allocations: 395.9 kB / 490.8 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002256/0.1383, allocations: 59.89 kB / 490.8 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1383, allocations: 0 / 490.8 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.342e-05/0.1384, allocations: 31.98 kB / 490.8 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.0003972/0.1388, allocations: 29.8 kB / 490.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.1399, allocations: 0.8439 MB / 491.7 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.1403, allocations: 0.826 MB / 492.5 MB, free: 9.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/0.1404, allocations: 11.44 kB / 492.6 MB, free: 9.148 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1404, allocations: 0 / 492.6 MB, free: 9.148 MB / 366.1 MB Notification: Performance of Templates: time 0.007313/0.1477, allocations: 3.796 MB / 496.3 MB, free: 5.344 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches