Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008932/0.0008934, allocations: 100.8 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009371/0.0009371, allocations: 200.5 kB / 17.91 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.7 MB / 246.4 MB, free: 11.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2513/0.2513, allocations: 46.19 MB / 344.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003174/0.0003174, allocations: 12 kB / 418.8 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1474, allocations: 63.57 MB / 482.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.002305/0.1498, allocations: 1.369 MB / 483.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.1509, allocations: 0.5109 MB / 484.3 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.881e-05/0.151, allocations: 0 / 484.3 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.1512, allocations: 67.83 kB / 484.4 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002394/0.1515, allocations: 87.72 kB / 484.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003736/0.1519, allocations: 114.9 kB / 484.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.152, allocations: 75.8 kB / 484.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.1522, allocations: 12.23 kB / 484.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.877e-05/0.1523, allocations: 31.84 kB / 484.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.1524, allocations: 43.83 kB / 484.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.1524, allocations: 0 / 484.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.1525, allocations: 43.98 kB / 484.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.504e-05/0.1526, allocations: 27.91 kB / 484.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.647e-05/0.1526, allocations: 41.64 kB / 484.8 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.1528, allocations: 75.88 kB / 484.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1528, allocations: 0 / 484.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.1528, allocations: 0 / 484.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1528, allocations: 3.938 kB / 484.9 MB, free: 2.02 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.0006267/0.1535, allocations: 419.1 kB / 485.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.1535, allocations: 19.97 kB / 485.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.1536, allocations: 7.906 kB / 485.3 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.1538, allocations: 201.4 kB / 485.5 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1538, allocations: 0 / 485.5 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.1539, allocations: 8 kB / 485.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.1541, allocations: 69.59 kB / 485.6 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.1541, allocations: 0 / 485.6 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.1541, allocations: 4 kB / 485.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1541, allocations: 4 kB / 485.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.1543, allocations: 43.97 kB / 485.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/0.1547, allocations: 312.7 kB / 486 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.155, allocations: 62.55 kB / 486 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.087e-05/0.1551, allocations: 28.97 kB / 486.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.1552, allocations: 7.969 kB / 486.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.1552, allocations: 38.56 kB / 486.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.1552, allocations: 0 / 486.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001545/0.1568, allocations: 485.1 kB / 486.6 MB, free: 180 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.1568, allocations: 51.41 kB / 486.6 MB, free: 116 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.1571, allocations: 214.8 kB / 486.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.1572, allocations: 25.7 kB / 486.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.383e-05/0.1573, allocations: 108 kB / 487 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.28e-05/0.1573, allocations: 35.47 kB / 487 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-06/0.1574, allocations: 0 / 487 MB, free: 15.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002074/0.1576, allocations: 334.8 kB / 487.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.1577, allocations: 47.95 kB / 487.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.1578, allocations: 47.97 kB / 487.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.158, allocations: 55.98 kB / 487.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.158, allocations: 0 / 487.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003337/0.1583, allocations: 157.5 kB / 487.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.1584, allocations: 4 kB / 487.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.1584, allocations: 3.938 kB / 487.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.681e-05/0.1584, allocations: 11.89 kB / 487.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.1585, allocations: 27.98 kB / 487.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.1586, allocations: 4 kB / 487.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.807e-05/0.1586, allocations: 19.92 kB / 487.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.1587, allocations: 4 kB / 487.7 MB, free: 15 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001652/0.1588, allocations: 130.4 kB / 487.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.1589, allocations: 11.81 kB / 487.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004728/0.1593, allocations: 183.3 kB / 488 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1594, allocations: 0 / 488 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.501e-05/0.1594, allocations: 7.953 kB / 488 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1594, allocations: 4 kB / 488 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008149/0.1602, allocations: 499.9 kB / 488.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1602, allocations: 0 / 488.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.1603, allocations: 35.92 kB / 488.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1604, allocations: 3.938 kB / 488.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.1604, allocations: 4 kB / 488.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1604, allocations: 0 / 488.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1604, allocations: 0 / 488.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004792/0.1609, allocations: 273.1 kB / 488.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.1609, allocations: 88.92 kB / 488.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.161, allocations: 7.953 kB / 488.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.431e-05/0.1611, allocations: 15.98 kB / 488.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/0.1611, allocations: 7.984 kB / 489 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.1612, allocations: 12.19 kB / 489 MB, free: 13.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002271/0.1614, allocations: 160.7 kB / 489.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1614, allocations: 0 / 489.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002767/0.1617, allocations: 27.98 kB / 489.1 MB, free: 13.44 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001207/0.1629, allocations: 454.9 kB / 489.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003558/0.1633, allocations: 123.9 kB / 489.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.1633, allocations: 0 / 489.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.1634, allocations: 71.89 kB / 489.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.1638, allocations: 15.94 kB / 489.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006641/0.1645, allocations: 347.4 kB / 490.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.1649, allocations: 0.7121 MB / 490.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.463e-05/0.1649, allocations: 20.53 kB / 490.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.165, allocations: 19.44 kB / 490.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.165, allocations: 0 / 490.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of Templates: time 0.005101/0.1701, allocations: 1.439 MB / 492.3 MB, free: 10.36 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches