Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001552/0.001552, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00164/0.001641, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2298/0.2298, allocations: 46.11 MB / 343.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 75.78 kB / 416.8 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.149, allocations: 62.45 MB / 479.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003095/0.1522, allocations: 1.71 MB / 481 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.1532, allocations: 0.5456 MB / 481.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.41e-05/0.1533, allocations: 7.938 kB / 481.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003028/0.1536, allocations: 87.8 kB / 481.6 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002312/0.1539, allocations: 91.77 kB / 481.7 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.1541, allocations: 91.77 kB / 481.8 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.1543, allocations: 91.81 kB / 481.9 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.1544, allocations: 19.98 kB / 481.9 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.98e-05/0.1545, allocations: 43.78 kB / 482 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.1546, allocations: 59.81 kB / 482 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.1546, allocations: 0 / 482 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.669e-05/0.1547, allocations: 47.98 kB / 482.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.531e-05/0.1548, allocations: 35.83 kB / 482.1 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.457e-05/0.1549, allocations: 35.69 kB / 482.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.155, allocations: 123.9 kB / 482.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1551, allocations: 0 / 482.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1551, allocations: 0 / 482.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.1551, allocations: 0 / 482.3 MB, free: 2.73 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005117/0.1556, allocations: 434.8 kB / 482.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1556, allocations: 8.031 kB / 482.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.042e-05/0.1557, allocations: 16.75 kB / 482.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.1559, allocations: 208.5 kB / 482.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.156, allocations: 8.375 kB / 482.9 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.156, allocations: 8.359 kB / 482.9 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.1562, allocations: 69.8 kB / 483 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.1562, allocations: 0 / 483 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.1562, allocations: 3.938 kB / 483 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1562, allocations: 0 / 483 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.1563, allocations: 43.91 kB / 483.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004344/0.1568, allocations: 336.6 kB / 483.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.1569, allocations: 62.5 kB / 483.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.834e-05/0.157, allocations: 24.84 kB / 483.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.157, allocations: 0 / 483.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.1571, allocations: 34.56 kB / 483.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 8.31e-07/0.1571, allocations: 0 / 483.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001072/0.1581, allocations: 320.8 kB / 483.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.1582, allocations: 55.41 kB / 483.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.1584, allocations: 239.5 kB / 484.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.1585, allocations: 25.7 kB / 484.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.138e-05/0.1585, allocations: 112.1 kB / 484.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.1586, allocations: 47.34 kB / 484.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.1586, allocations: 25.7 kB / 484.3 MB, free: 496 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1587, allocations: 334.8 kB / 484.6 MB, free: 152 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.072e-05/0.1588, allocations: 31.98 kB / 484.7 MB, free: 120 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.509e-05/0.1589, allocations: 43.97 kB / 484.7 MB, free: 76 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.1591, allocations: 88.91 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1592, allocations: 112 / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002504/0.1594, allocations: 137.4 kB / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.1594, allocations: 4 kB / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1594, allocations: 0 / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1595, allocations: 3.938 kB / 484.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.1596, allocations: 35.91 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.1596, allocations: 4 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.604e-05/0.1597, allocations: 4 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.1597, allocations: 4 kB / 485 MB, free: 15.79 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 (13): * Single equations (assignments): 13 * 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.0001124/0.1598, allocations: 137.8 kB / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.775e-05/0.1599, allocations: 11.81 kB / 485.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003493/0.1602, allocations: 174.4 kB / 485.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.1602, allocations: 7.938 kB / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.1602, allocations: 3.984 kB / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1603, allocations: 0 / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005929/0.1609, allocations: 483.1 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.1609, allocations: 0 / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.808e-05/0.161, allocations: 27.92 kB / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.161, allocations: 7.938 kB / 485.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.161, allocations: 4 kB / 485.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.161, allocations: 0 / 485.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.161, allocations: 0 / 485.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.1613, allocations: 248.1 kB / 486.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.685e-05/0.1614, allocations: 88.92 kB / 486.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.1614, allocations: 8 kB / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.948e-05/0.1615, allocations: 3.984 kB / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.1616, allocations: 11.98 kB / 486.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.1616, allocations: 4 kB / 486.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001567/0.1617, allocations: 177.2 kB / 486.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1617, allocations: 0 / 486.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000264/0.162, allocations: 31.98 kB / 486.4 MB, free: 14.28 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001134/0.1632, allocations: 453.8 kB / 486.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002732/0.1634, allocations: 95.95 kB / 486.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1635, allocations: 3.938 kB / 486.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.1636, allocations: 51.97 kB / 487 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.164, allocations: 23.92 kB / 487 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006342/0.1646, allocations: 353.5 kB / 487.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.1649, allocations: 0.7199 MB / 488.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.914e-05/0.165, allocations: 16.55 kB / 488.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.165, allocations: 23.42 kB / 488.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.165, allocations: 0 / 488.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of Templates: time 0.004333/0.1694, allocations: 1.479 MB / 489.6 MB, free: 11.19 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches