Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001183/0.001183, allocations: 114 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001534/0.001534, allocations: 205.8 kB / 18.27 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2141/0.2141, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 80.66 kB / 417 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1465, allocations: 62.45 MB / 479.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003251/0.1498, allocations: 1.649 MB / 481.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.1515, allocations: 1.136 MB / 482.3 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.605e-05/0.1516, allocations: 0 / 482.3 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.1518, allocations: 19.92 kB / 482.3 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.1521, allocations: 67.81 kB / 482.4 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.1524, allocations: 79.78 kB / 482.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.1525, allocations: 59.91 kB / 482.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.27e-05/0.1526, allocations: 19.98 kB / 482.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.087e-05/0.1527, allocations: 27.8 kB / 482.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.1528, allocations: 35.84 kB / 482.6 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.1529, allocations: 4 kB / 482.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.153, allocations: 95.94 kB / 482.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.424e-05/0.1531, allocations: 15.92 kB / 482.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.232e-05/0.1531, allocations: 27.8 kB / 482.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.1533, allocations: 127.7 kB / 482.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1534, allocations: 4 kB / 482.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1534, allocations: 0 / 482.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1534, allocations: 4 kB / 482.9 MB, free: 2.242 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.0004871/0.1539, allocations: 395.4 kB / 483.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.1539, allocations: 8.031 kB / 483.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.154, allocations: 4.938 kB / 483.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.1542, allocations: 204 kB / 483.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.751e-06/0.1542, allocations: 4.312 kB / 483.5 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.1542, allocations: 8.375 kB / 483.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.1544, allocations: 71.52 kB / 483.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1544, allocations: 0 / 483.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1544, allocations: 0 / 483.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1544, allocations: 4 kB / 483.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.461e-05/0.1545, allocations: 19.98 kB / 483.6 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/0.1549, allocations: 280.8 kB / 483.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.1551, allocations: 50.56 kB / 483.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.635e-05/0.1551, allocations: 8.859 kB / 483.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.1552, allocations: 4.078 kB / 483.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.1552, allocations: 34.56 kB / 483.9 MB, free: 1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1552, allocations: 0 / 483.9 MB, free: 1 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005898/0.1558, allocations: 153.5 kB / 484.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.1558, allocations: 77.11 kB / 484.2 MB, free: 0.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.156, allocations: 141.8 kB / 484.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.156, allocations: 25.7 kB / 484.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.914e-05/0.1561, allocations: 100.1 kB / 484.4 MB, free: 480 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.1561, allocations: 15.72 kB / 484.4 MB, free: 464 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.1561, allocations: 25.7 kB / 484.5 MB, free: 432 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1563, allocations: 318.8 kB / 484.8 MB, free: 104 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.515e-05/0.1563, allocations: 23.92 kB / 484.8 MB, free: 80 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.693e-05/0.1564, allocations: 33.69 kB / 484.8 MB, free: 40 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.1566, allocations: 40.89 kB / 484.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1566, allocations: 4.031 kB / 484.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001834/0.1568, allocations: 81.61 kB / 484.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1568, allocations: 4 kB / 484.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1568, allocations: 0 / 484.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.1568, allocations: 0 / 484.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.716e-05/0.1569, allocations: 19.92 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1569, allocations: 0 / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.547e-05/0.1569, allocations: 4.25 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.1569, allocations: 7.938 kB / 485 MB, free: 15.87 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 7.721e-05/0.157, allocations: 113.8 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.514e-05/0.1571, allocations: 11.91 kB / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.1573, allocations: 97.94 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1573, allocations: 0 / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1573, allocations: 0 / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1573, allocations: 0 / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.1578, allocations: 362.3 kB / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1578, allocations: 0 / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.658e-05/0.1578, allocations: 15.98 kB / 485.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1578, allocations: 3.938 kB / 485.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.1579, allocations: 0 / 485.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1579, allocations: 3.938 kB / 485.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1579, allocations: 0 / 485.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.1581, allocations: 183.4 kB / 485.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-05/0.1581, allocations: 81.11 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.1582, allocations: 0 / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.665e-05/0.1582, allocations: 15.92 kB / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.1583, allocations: 0 / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.1583, allocations: 4 kB / 485.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001029/0.1584, allocations: 121.7 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1584, allocations: 4 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002785/0.1587, allocations: 36 kB / 486 MB, free: 14.73 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.001077/0.1598, allocations: 492.8 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.16, allocations: 47.91 kB / 486.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.16, allocations: 7.938 kB / 486.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.323e-05/0.1601, allocations: 23.98 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.1605, allocations: 22.73 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004335/0.1609, allocations: 189.4 kB / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.1612, allocations: 0.6924 MB / 487.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.768e-05/0.1613, allocations: 11.98 kB / 487.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.132e-05/0.1613, allocations: 23.36 kB / 487.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1613, allocations: 0 / 487.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of Templates: time 0.004282/0.1656, allocations: 1.736 MB / 489.2 MB, free: 11.62 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches