Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00118/0.00118, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001189/0.001189, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.236/0.236, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 83.86 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1411, allocations: 62.43 MB / 481.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003694/0.1449, allocations: 1.612 MB / 483.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1461, allocations: 0.5611 MB / 483.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.569e-05/0.1462, allocations: 4 kB / 483.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006301/0.1468, allocations: 455.1 kB / 484.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000575/0.1474, allocations: 291.3 kB / 484.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005356/0.148, allocations: 171.3 kB / 484.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000331/0.1483, allocations: 163.7 kB / 484.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.1485, allocations: 19.98 kB / 484.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.1486, allocations: 111.7 kB / 484.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/0.1489, allocations: 207.6 kB / 485 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.1489, allocations: 0 / 485 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.142e-05/0.149, allocations: 23.98 kB / 485 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.1492, allocations: 91.62 kB / 485.1 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.83e-05/0.1493, allocations: 99 kB / 485.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003223/0.1496, allocations: 251 kB / 485.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1496, allocations: 0 / 485.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1496, allocations: 0 / 485.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1496, allocations: 0 / 485.5 MB, free: 0.5078 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008559/0.1505, allocations: 0.6297 MB / 486.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.1506, allocations: 8.031 kB / 486.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.1507, allocations: 44.45 kB / 486.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000425/0.1511, allocations: 292.1 kB / 486.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.1511, allocations: 16.31 kB / 486.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.1512, allocations: 4.312 kB / 486.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.1514, allocations: 49.81 kB / 486.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1514, allocations: 3.938 kB / 486.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.1514, allocations: 0 / 486.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.1515, allocations: 0 / 486.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.1516, allocations: 31.97 kB / 486.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006579/0.1522, allocations: 388.7 kB / 486.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.49e-05/0.1523, allocations: 34.5 kB / 487 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.853e-05/0.1524, allocations: 16.92 kB / 487 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.1524, allocations: 0 / 487 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.1525, allocations: 34.56 kB / 487 MB, free: 14.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1525, allocations: 0 / 487 MB, free: 14.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003298/0.1528, allocations: 121 kB / 487.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.1529, allocations: 51.41 kB / 487.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009141/0.1538, allocations: 0.8699 MB / 488 MB, free: 13.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.1538, allocations: 25.7 kB / 488.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.154, allocations: 220.1 kB / 488.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.154, allocations: 3.906 kB / 488.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/0.1541, allocations: 13.72 kB / 488.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.1543, allocations: 370.8 kB / 488.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.516e-05/0.1544, allocations: 8 kB / 488.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.016e-05/0.1544, allocations: 11.98 kB / 488.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.102e-05/0.1545, allocations: 28.84 kB / 488.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1545, allocations: 0 / 488.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000175/0.1547, allocations: 93.14 kB / 488.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.1547, allocations: 12.09 kB / 488.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.1547, allocations: 0 / 488.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.1547, allocations: 0 / 488.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.03e-05/0.1548, allocations: 4 kB / 488.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1548, allocations: 0 / 488.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.535e-05/0.1549, allocations: 11.89 kB / 488.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.1549, allocations: 0 / 488.8 MB, free: 12.92 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 (2): * Single equations (assignments): 2 * 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.0002091/0.1551, allocations: 217.7 kB / 489 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.907e-05/0.1552, allocations: 35.53 kB / 489.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.1555, allocations: 112.7 kB / 489.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.1555, allocations: 0 / 489.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1555, allocations: 0 / 489.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.1555, allocations: 0 / 489.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003068/0.1558, allocations: 297.4 kB / 489.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1558, allocations: 0 / 489.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.983e-05/0.1559, allocations: 7.984 kB / 489.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1559, allocations: 3.938 kB / 489.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1559, allocations: 0 / 489.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1559, allocations: 4.031 kB / 489.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1559, allocations: 0 / 489.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.1561, allocations: 190.9 kB / 489.7 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.1563, allocations: 112.5 kB / 489.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.1563, allocations: 0 / 489.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.035e-05/0.1564, allocations: 4 kB / 489.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.1564, allocations: 4.031 kB / 489.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.1564, allocations: 0 / 489.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006096/0.157, allocations: 0.6589 MB / 490.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.157, allocations: 0 / 490.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.1573, allocations: 16 kB / 490.5 MB, free: 11.18 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 (2): * Single equations (assignments): 2 * 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.0008878/0.1582, allocations: 356.7 kB / 490.8 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001592/0.1583, allocations: 23.98 kB / 490.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1584, allocations: 0 / 490.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.469e-05/0.1584, allocations: 15.98 kB / 490.9 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.1589, allocations: 28.11 kB / 490.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.1601, allocations: 0.7835 MB / 491.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004728/0.1606, allocations: 0.8221 MB / 492.5 MB, free: 9.223 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.805e-05/0.1606, allocations: 8 kB / 492.5 MB, free: 9.215 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.1607, allocations: 19.36 kB / 492.5 MB, free: 9.195 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1607, allocations: 3.938 kB / 492.5 MB, free: 9.191 MB / 366.1 MB Notification: Performance of Templates: time 0.005142/0.1658, allocations: 1.255 MB / 493.8 MB, free: 7.938 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches