Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001279/0.001279, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001118/0.001118, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2444/0.2444, allocations: 46.11 MB / 344.1 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 73.09 kB / 417.6 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1618, allocations: 62.44 MB / 480 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003899/0.1658, allocations: 1.612 MB / 481.6 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.1669, allocations: 0.5416 MB / 482.2 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.702e-05/0.1669, allocations: 0 / 482.2 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003353/0.1673, allocations: 95.67 kB / 482.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.1676, allocations: 107.6 kB / 482.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.1679, allocations: 99.31 kB / 482.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.1681, allocations: 83.81 kB / 482.5 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.1683, allocations: 15.98 kB / 482.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.841e-05/0.1684, allocations: 35.86 kB / 482.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.1685, allocations: 55.81 kB / 482.6 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.1685, allocations: 4 kB / 482.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.1686, allocations: 43.98 kB / 482.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.791e-05/0.1687, allocations: 27.91 kB / 482.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.499e-05/0.1688, allocations: 39.62 kB / 482.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.169, allocations: 103.7 kB / 482.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.169, allocations: 0 / 482.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.169, allocations: 0 / 482.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.169, allocations: 0 / 482.9 MB, free: 2.414 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.0006637/0.1697, allocations: 423.1 kB / 483.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1698, allocations: 8.031 kB / 483.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.884e-05/0.1698, allocations: 16.75 kB / 483.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.1701, allocations: 204.1 kB / 483.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.1701, allocations: 384 / 483.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.1701, allocations: 8.375 kB / 483.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.1703, allocations: 61.67 kB / 483.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.1703, allocations: 0 / 483.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.1703, allocations: 0 / 483.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1703, allocations: 4 kB / 483.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.1705, allocations: 19.98 kB / 483.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004513/0.1709, allocations: 304.7 kB / 483.9 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.171, allocations: 46.5 kB / 483.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.748e-05/0.1711, allocations: 12.86 kB / 483.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.1711, allocations: 4.078 kB / 483.9 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.1712, allocations: 38.56 kB / 484 MB, free: 1.125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.402e-06/0.1712, allocations: 4 kB / 484 MB, free: 1.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009966/0.1722, allocations: 229.3 kB / 484.2 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.1722, allocations: 51.41 kB / 484.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.1725, allocations: 239.1 kB / 484.5 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.1725, allocations: 25.7 kB / 484.5 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.296e-05/0.1726, allocations: 108.1 kB / 484.6 MB, free: 456 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.86e-05/0.1726, allocations: 27.56 kB / 484.7 MB, free: 428 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.1727, allocations: 21.7 kB / 484.7 MB, free: 400 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1728, allocations: 326.8 kB / 485 MB, free: 64 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.647e-05/0.1729, allocations: 23.98 kB / 485 MB, free: 40 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.4e-05/0.173, allocations: 23.94 kB / 485 MB, free: 16 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.1732, allocations: 64.91 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1732, allocations: 0 / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002106/0.1734, allocations: 105.5 kB / 485.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.1734, allocations: 10.28 kB / 485.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1734, allocations: 0 / 485.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.1735, allocations: 0 / 485.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.1736, allocations: 23.92 kB / 485.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.1736, allocations: 4 kB / 485.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.434e-05/0.1736, allocations: 7.938 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-06/0.1737, allocations: 4 kB / 485.3 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 (8): * Single equations (assignments): 8 * 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.0001143/0.1738, allocations: 126.9 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.1738, allocations: 15.81 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003032/0.1741, allocations: 115 kB / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1741, allocations: 4 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.1742, allocations: 8 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.1742, allocations: 3.938 kB / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005475/0.1747, allocations: 407.6 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1747, allocations: 0 / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.278e-05/0.1748, allocations: 23.94 kB / 485.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.1748, allocations: 11.95 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.1748, allocations: 0 / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.1749, allocations: 8.016 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1749, allocations: 3.984 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.1751, allocations: 200.3 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.24e-05/0.1752, allocations: 92.86 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.1752, allocations: 4 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.398e-05/0.1753, allocations: 8 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.1754, allocations: 11.92 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.1754, allocations: 0 / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001496/0.1755, allocations: 179.2 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1755, allocations: 0 / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.1758, allocations: 24 kB / 486.5 MB, free: 14.46 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 (8): * Single equations (assignments): 8 * 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.001141/0.1769, allocations: 449.2 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002278/0.1772, allocations: 67.89 kB / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1772, allocations: 0 / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.169e-05/0.1773, allocations: 35.98 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.1777, allocations: 23.48 kB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006069/0.1783, allocations: 278.9 kB / 487.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.1787, allocations: 0.7119 MB / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.695e-05/0.1787, allocations: 16.95 kB / 488 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.1788, allocations: 15.44 kB / 488.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1788, allocations: 0 / 488.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of Templates: time 0.00438/0.1832, allocations: 1.36 MB / 489.4 MB, free: 11.62 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches