Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.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.CombiTable1Dv.Test32,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.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,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.CombiTable1Dv.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001359/0.001359, allocations: 103.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001329/0.001329, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2395/0.2395, allocations: 46.12 MB / 344.2 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003358/0.003358, allocations: 76.66 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1673, allocations: 62.46 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003555/0.1709, allocations: 1.604 MB / 481.7 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.172, allocations: 0.5533 MB / 482.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.072e-05/0.1721, allocations: 4 kB / 482.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.1725, allocations: 103.7 kB / 482.4 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003109/0.1728, allocations: 119.6 kB / 482.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003077/0.1731, allocations: 111.7 kB / 482.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.1733, allocations: 91.8 kB / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.1734, allocations: 16 kB / 482.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.719e-05/0.1735, allocations: 39.83 kB / 482.7 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.1736, allocations: 67.81 kB / 482.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.1736, allocations: 4 kB / 482.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.1737, allocations: 51.92 kB / 482.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.085e-05/0.1738, allocations: 23.91 kB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.975e-05/0.1739, allocations: 39.67 kB / 482.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.1741, allocations: 115.6 kB / 483 MB, free: 2.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.1741, allocations: 0 / 483 MB, free: 2.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1741, allocations: 0 / 483 MB, free: 2.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.1741, allocations: 4 kB / 483 MB, free: 2.234 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.0005973/0.1747, allocations: 427.1 kB / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1748, allocations: 8.031 kB / 483.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.1748, allocations: 12.84 kB / 483.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.175, allocations: 213.6 kB / 483.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.1751, allocations: 384 / 483.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.1751, allocations: 4.375 kB / 483.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.1752, allocations: 61.78 kB / 483.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1753, allocations: 0 / 483.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.1753, allocations: 3.938 kB / 483.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.1753, allocations: 4 kB / 483.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.1754, allocations: 27.98 kB / 483.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004829/0.1759, allocations: 312.7 kB / 484.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.176, allocations: 50.48 kB / 484.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.406e-05/0.1761, allocations: 16.86 kB / 484.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.1761, allocations: 4 kB / 484.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.1762, allocations: 38.64 kB / 484.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.041e-06/0.1762, allocations: 0 / 484.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001002/0.1772, allocations: 244.9 kB / 484.4 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.08e-05/0.1773, allocations: 59.34 kB / 484.5 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003344/0.1776, allocations: 258.1 kB / 484.8 MB, free: 340 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.1777, allocations: 29.7 kB / 484.8 MB, free: 304 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.1778, allocations: 112.2 kB / 484.9 MB, free: 188 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.251e-05/0.1778, allocations: 27.55 kB / 484.9 MB, free: 160 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-05/0.1779, allocations: 21.72 kB / 484.9 MB, free: 132 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002251/0.1781, allocations: 326.8 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.141e-05/0.1782, allocations: 27.97 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.517e-05/0.1783, allocations: 32 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.1785, allocations: 76.81 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1785, allocations: 0 / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002445/0.1787, allocations: 113.4 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.1788, allocations: 4 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1788, allocations: 0 / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.1788, allocations: 0 / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.1789, allocations: 27.98 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.179, allocations: 0 / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.877e-05/0.179, allocations: 11.92 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.179, allocations: 0 / 485.6 MB, free: 15.5 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.0001412/0.1792, allocations: 133.8 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.1792, allocations: 7.906 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003595/0.1796, allocations: 147.2 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1796, allocations: 0 / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1796, allocations: 0 / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.1796, allocations: 3.938 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006713/0.1803, allocations: 435.3 kB / 486.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1803, allocations: 0 / 486.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.464e-05/0.1804, allocations: 24.02 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.84e-06/0.1804, allocations: 3.938 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1804, allocations: 4 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1804, allocations: 4 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.1804, allocations: 4 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.1808, allocations: 224.1 kB / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-05/0.1808, allocations: 92.95 kB / 486.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.1809, allocations: 0 / 486.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.677e-05/0.1809, allocations: 7.984 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.181, allocations: 4 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.181, allocations: 0 / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002196/0.1812, allocations: 192.4 kB / 486.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1813, allocations: 4 kB / 486.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.1815, allocations: 23.98 kB / 486.8 MB, free: 14.11 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.001815/0.1833, allocations: 456.3 kB / 487.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003023/0.1837, allocations: 75.89 kB / 487.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1837, allocations: 4 kB / 487.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.1838, allocations: 43.91 kB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/0.1842, allocations: 21.75 kB / 487.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006066/0.1849, allocations: 295.5 kB / 487.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.1852, allocations: 0.7158 MB / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.096e-05/0.1853, allocations: 28.94 kB / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/0.1853, allocations: 11.44 kB / 488.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1854, allocations: 0 / 488.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of Templates: time 0.004751/0.1901, allocations: 1.413 MB / 489.9 MB, free: 11.17 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches