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.001035/0.001035, allocations: 115.8 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.001292/0.001292, allocations: 199.5 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.384/1.384, 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.2334/0.2334, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 71.88 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1485, allocations: 62.44 MB / 481.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.003279/0.1518, allocations: 1.681 MB / 483.1 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009594/0.1528, allocations: 0.5494 MB / 483.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.078e-05/0.1529, allocations: 4 kB / 483.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002564/0.1531, allocations: 71.7 kB / 483.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003223/0.1535, allocations: 107.6 kB / 483.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.1539, allocations: 127.5 kB / 484 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.1541, allocations: 99.73 kB / 484.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.1542, allocations: 16.22 kB / 484.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.892e-05/0.1543, allocations: 43.83 kB / 484.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.1544, allocations: 47.83 kB / 484.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.1544, allocations: 4 kB / 484.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.1545, allocations: 51.97 kB / 484.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.555e-05/0.1546, allocations: 31.86 kB / 484.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.947e-05/0.1547, allocations: 27.75 kB / 484.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.1549, allocations: 123.6 kB / 484.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1549, allocations: 0 / 484.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1549, allocations: 4 kB / 484.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1549, allocations: 0 / 484.4 MB, free: 1.531 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.000548/0.1555, allocations: 418.9 kB / 484.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1555, allocations: 8.031 kB / 484.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.1556, allocations: 16.84 kB / 484.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.1558, allocations: 200.7 kB / 485.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.1558, allocations: 4.375 kB / 485.1 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/0.1558, allocations: 12.28 kB / 485.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.156, allocations: 61.8 kB / 485.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.156, allocations: 0 / 485.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.156, allocations: 3.938 kB / 485.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.1561, allocations: 8 kB / 485.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.1562, allocations: 47.89 kB / 485.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/0.1566, allocations: 300.8 kB / 485.5 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.1569, allocations: 62.56 kB / 485.5 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.051e-05/0.1569, allocations: 24.97 kB / 485.6 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.157, allocations: 0 / 485.6 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.157, allocations: 38.56 kB / 485.6 MB, free: 192 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.157, allocations: 4 kB / 485.6 MB, free: 188 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001368/0.1584, allocations: 392.8 kB / 486 MB, free: 15.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.1584, allocations: 55.34 kB / 486.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.1587, allocations: 214.4 kB / 486.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.1587, allocations: 29.7 kB / 486.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.499e-05/0.1588, allocations: 112 kB / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.751e-05/0.1588, allocations: 39.45 kB / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.478e-05/0.1589, allocations: 17.72 kB / 486.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.159, allocations: 326.8 kB / 486.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.1591, allocations: 47.89 kB / 486.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.1593, allocations: 51.91 kB / 486.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.1595, allocations: 92.81 kB / 487 MB, free: 14.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1595, allocations: 0 / 487 MB, free: 14.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002843/0.1598, allocations: 149.9 kB / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1598, allocations: 4 kB / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1598, allocations: 0 / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.1599, allocations: 0 / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.16, allocations: 35.8 kB / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.16, allocations: 0 / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.036e-05/0.1601, allocations: 12.55 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.1601, allocations: 4 kB / 487.2 MB, free: 14.57 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.1602, allocations: 133.8 kB / 487.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/0.1602, allocations: 11.81 kB / 487.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000389/0.1606, allocations: 174.9 kB / 487.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1607, allocations: 3.938 kB / 487.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1607, allocations: 4 kB / 487.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1607, allocations: 0 / 487.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006543/0.1613, allocations: 476 kB / 487.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1614, allocations: 0 / 487.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.1615, allocations: 31.92 kB / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.1615, allocations: 7.984 kB / 488 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.1615, allocations: 0 / 488 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1615, allocations: 7.938 kB / 488 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1615, allocations: 4.062 kB / 488 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003518/0.1619, allocations: 253 kB / 488.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.262e-05/0.1619, allocations: 88.92 kB / 488.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.162, allocations: 8 kB / 488.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.914e-05/0.1621, allocations: 7.984 kB / 488.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.068e-05/0.1621, allocations: 15.98 kB / 488.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.1621, allocations: 96 / 488.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.1623, allocations: 164.2 kB / 488.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1623, allocations: 0 / 488.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000262/0.1625, allocations: 24 kB / 488.5 MB, free: 13.07 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 (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.001059/0.1636, allocations: 451.2 kB / 489 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000308/0.1639, allocations: 111.9 kB / 489.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1639, allocations: 0 / 489.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.1641, allocations: 63.84 kB / 489.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.1645, allocations: 25.48 kB / 489.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006127/0.1651, allocations: 305.1 kB / 489.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.1654, allocations: 0.7157 MB / 490.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.794e-05/0.1655, allocations: 16.55 kB / 490.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.889e-05/0.1655, allocations: 15.44 kB / 490.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1655, allocations: 0 / 490.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of Templates: time 0.004301/0.1698, allocations: 1.558 MB / 491.8 MB, free: 9.93 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches