Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001281/0.001281, allocations: 115.9 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00149/0.001491, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 246.4 MB, free: 9.094 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2569/0.2569, allocations: 46.11 MB / 343.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.001551, allocations: 77.03 kB / 417 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1721, allocations: 62.45 MB / 479.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.004135/0.1762, allocations: 1.785 MB / 481.3 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001987/0.1783, allocations: 1.008 MB / 482.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.1784, allocations: 4 kB / 482.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004128/0.1789, allocations: 39.89 kB / 482.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004988/0.1794, allocations: 83.67 kB / 482.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.1797, allocations: 67.86 kB / 482.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.18, allocations: 103.7 kB / 482.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.1801, allocations: 15.98 kB / 482.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002495/0.1804, allocations: 47.72 kB / 482.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.1805, allocations: 31.8 kB / 482.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.1805, allocations: 4 kB / 482.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.1807, allocations: 39.98 kB / 482.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.836e-05/0.1808, allocations: 23.91 kB / 482.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.931e-05/0.1809, allocations: 39.73 kB / 482.8 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.1812, allocations: 123.8 kB / 482.9 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.1812, allocations: 0 / 482.9 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1812, allocations: 0 / 482.9 MB, free: 2.176 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.1812, allocations: 0 / 482.9 MB, free: 2.176 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007487/0.182, allocations: 422.9 kB / 483.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.182, allocations: 12.03 kB / 483.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.85e-05/0.1821, allocations: 8.844 kB / 483.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.1824, allocations: 216 kB / 483.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.1825, allocations: 384 / 483.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.253e-05/0.1825, allocations: 8.125 kB / 483.6 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.1827, allocations: 61.55 kB / 483.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.1827, allocations: 3.984 kB / 483.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.1828, allocations: 7.984 kB / 483.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1828, allocations: 0 / 483.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.273e-05/0.1829, allocations: 19.98 kB / 483.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004849/0.1834, allocations: 288.9 kB / 483.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.1835, allocations: 54.62 kB / 484 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.868e-05/0.1836, allocations: 32.84 kB / 484 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.1837, allocations: 0 / 484 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002391/0.1839, allocations: 63.39 kB / 484.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.1839, allocations: 0 / 484.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006316/0.1845, allocations: 181 kB / 484.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.1846, allocations: 51.41 kB / 484.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.1848, allocations: 214.9 kB / 484.5 MB, free: 380 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.1849, allocations: 25.7 kB / 484.5 MB, free: 348 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.951e-05/0.1849, allocations: 100.1 kB / 484.6 MB, free: 244 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.419e-05/0.185, allocations: 27.69 kB / 484.7 MB, free: 216 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.185, allocations: 21.72 kB / 484.7 MB, free: 188 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1852, allocations: 330.8 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.825e-05/0.1853, allocations: 23.92 kB / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.529e-05/0.1854, allocations: 41.64 kB / 485.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.1855, allocations: 57.7 kB / 485.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.1855, allocations: 4 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002098/0.1857, allocations: 101.4 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.1857, allocations: 4 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.1858, allocations: 4.156 kB / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.1858, allocations: 0 / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.1859, allocations: 20.02 kB / 485.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.1859, allocations: 3.984 kB / 485.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.973e-05/0.186, allocations: 7.938 kB / 485.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.186, allocations: 4 kB / 485.3 MB, free: 15.57 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001586/0.1862, allocations: 133.7 kB / 485.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.1862, allocations: 11.91 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.667e-05/0.1863, allocations: 17.39 kB / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1863, allocations: 0 / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.1863, allocations: 0 / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.1863, allocations: 12.12 kB / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004977/0.1868, allocations: 395.2 kB / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1868, allocations: 3.938 kB / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.515e-05/0.1869, allocations: 11.98 kB / 485.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1869, allocations: 0 / 485.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.1869, allocations: 8.312 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1869, allocations: 4 kB / 485.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1869, allocations: 0 / 485.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.1872, allocations: 200.3 kB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.963e-05/0.1872, allocations: 88.92 kB / 486.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.1873, allocations: 15.86 kB / 486.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.042e-05/0.1874, allocations: 4 kB / 486.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.1874, allocations: 7.984 kB / 486.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.887e-05/0.1874, allocations: 3.984 kB / 486.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001619/0.1876, allocations: 164.3 kB / 486.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1876, allocations: 0 / 486.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002837/0.1879, allocations: 24 kB / 486.4 MB, free: 14.38 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001307/0.1892, allocations: 454.9 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002236/0.1895, allocations: 67.91 kB / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1895, allocations: 0 / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.503e-05/0.1896, allocations: 31.92 kB / 486.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.1899, allocations: 29.2 kB / 486.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005611/0.1905, allocations: 263.6 kB / 487.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.1909, allocations: 0.7041 MB / 487.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.581e-05/0.1909, allocations: 20.86 kB / 487.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.401e-05/0.191, allocations: 19.42 kB / 487.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.191, allocations: 0 / 487.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of Templates: time 0.005183/0.1962, allocations: 1.699 MB / 489.6 MB, free: 11.22 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches