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.001827/0.001827, allocations: 104.1 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.002302/0.002302, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2316/0.2316, allocations: 46.11 MB / 344.2 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002266/0.002266, allocations: 84.62 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1439, allocations: 62.46 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.00335/0.1473, allocations: 1.65 MB / 481.8 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000969/0.1483, allocations: 0.5533 MB / 482.3 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.881e-05/0.1484, allocations: 0 / 482.3 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005595/0.1489, allocations: 451.1 kB / 482.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004472/0.1494, allocations: 295.3 kB / 483.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003299/0.1497, allocations: 130.9 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.15, allocations: 171.6 kB / 483.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.547e-05/0.1501, allocations: 15.98 kB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.1502, allocations: 111.8 kB / 483.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.1504, allocations: 207.6 kB / 483.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.1504, allocations: 0 / 483.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.71e-05/0.1505, allocations: 39.98 kB / 483.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.1506, allocations: 83.62 kB / 483.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.177e-05/0.1507, allocations: 103 kB / 483.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002768/0.151, allocations: 251 kB / 484.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.151, allocations: 0 / 484.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.151, allocations: 4 kB / 484.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1511, allocations: 0 / 484.1 MB, free: 1.148 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.0007367/0.1518, allocations: 0.6416 MB / 484.8 MB, free: 468 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.1518, allocations: 8.031 kB / 484.8 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.563e-05/0.1519, allocations: 40.47 kB / 484.8 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.1522, allocations: 292.2 kB / 485.1 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.1522, allocations: 8.359 kB / 485.1 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.1523, allocations: 4.375 kB / 485.1 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.1524, allocations: 57.75 kB / 485.2 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1524, allocations: 4 kB / 485.2 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.1524, allocations: 0 / 485.2 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1525, allocations: 0 / 485.2 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.1526, allocations: 32.05 kB / 485.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/0.1531, allocations: 384.6 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.1533, allocations: 46.5 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.426e-05/0.1534, allocations: 20.86 kB / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.1534, allocations: 96 / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.1534, allocations: 34.55 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1534, allocations: 4 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006194/0.1541, allocations: 223.9 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.1541, allocations: 55.41 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008668/0.155, allocations: 0.8614 MB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.155, allocations: 33.7 kB / 486.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.1552, allocations: 220 kB / 487.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.1552, allocations: 15.8 kB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.1553, allocations: 21.66 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1555, allocations: 366.7 kB / 487.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.22e-05/0.1556, allocations: 15.98 kB / 487.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.448e-05/0.1556, allocations: 23.97 kB / 487.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.1558, allocations: 44.97 kB / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1558, allocations: 4 kB / 487.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002199/0.156, allocations: 121.1 kB / 487.7 MB, free: 13.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.156, allocations: 11.94 kB / 487.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.156, allocations: 0 / 487.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.1561, allocations: 0 / 487.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.988e-05/0.1561, allocations: 15.98 kB / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1562, allocations: 0 / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.727e-05/0.1562, allocations: 11.88 kB / 487.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.1562, allocations: 0 / 487.7 MB, free: 13.33 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.0001949/0.1564, allocations: 217.7 kB / 487.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.855e-05/0.1565, allocations: 39.53 kB / 488 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002912/0.1568, allocations: 129.1 kB / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1568, allocations: 4.281 kB / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1568, allocations: 0 / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1568, allocations: 7.922 kB / 488.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005596/0.1574, allocations: 470.3 kB / 488.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1574, allocations: 4 kB / 488.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.068e-05/0.1575, allocations: 11.98 kB / 488.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1575, allocations: 4 kB / 488.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.1575, allocations: 3.938 kB / 488.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1575, allocations: 0 / 488.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1575, allocations: 0 / 488.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.1578, allocations: 207.2 kB / 488.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.648e-05/0.1579, allocations: 116.6 kB / 488.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.1579, allocations: 11.94 kB / 488.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.853e-05/0.158, allocations: 0 / 488.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.1581, allocations: 8 kB / 488.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.1581, allocations: 3.984 kB / 488.9 MB, free: 12.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006948/0.1588, allocations: 0.6511 MB / 489.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1588, allocations: 0 / 489.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.159, allocations: 20 kB / 489.6 MB, free: 11.34 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.001518/0.1606, allocations: 400.2 kB / 490 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002307/0.1608, allocations: 43.97 kB / 490 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1608, allocations: 4 kB / 490 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.21e-05/0.1609, allocations: 32.03 kB / 490.1 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.1613, allocations: 27.25 kB / 490.1 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.1625, allocations: 0.807 MB / 490.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005634/0.163, allocations: 0.8221 MB / 491.7 MB, free: 9.309 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.801e-05/0.1631, allocations: 11.97 kB / 491.7 MB, free: 9.297 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.1631, allocations: 11.44 kB / 491.8 MB, free: 9.285 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1631, allocations: 4 kB / 491.8 MB, free: 9.281 MB / 366.1 MB Notification: Performance of Templates: time 0.0053/0.1685, allocations: 1.481 MB / 493.2 MB, free: 7.801 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