Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008113/0.0008113, allocations: 178.1 kB / 17.04 MB, free: 5.109 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.169/1.169, allocations: 223.3 MB / 241 MB, free: 11.82 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006861/0.0006861, allocations: 107.4 kB / 292.2 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00022/0.0002201, allocations: 4 kB / 351.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1742, allocations: 50.41 MB / 402.2 MB, free: 32.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.001956/0.1762, allocations: 2.559 MB / 404.8 MB, free: 30 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.1773, allocations: 1.107 MB / 405.9 MB, free: 28.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.1774, allocations: 7.938 kB / 405.9 MB, free: 28.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.1777, allocations: 119.4 kB / 406 MB, free: 28.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00025/0.178, allocations: 147.2 kB / 406.1 MB, free: 28.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.1782, allocations: 141 kB / 406.3 MB, free: 28.49 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.1785, allocations: 386.1 kB / 406.7 MB, free: 28.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.1786, allocations: 97.58 kB / 406.7 MB, free: 28.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.1787, allocations: 151.4 kB / 406.9 MB, free: 27.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.1789, allocations: 159.3 kB / 407.1 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.1789, allocations: 16 kB / 407.1 MB, free: 27.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.817e-05/0.179, allocations: 39.98 kB / 407.1 MB, free: 27.65 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.315e-05/0.1791, allocations: 71.67 kB / 407.2 MB, free: 27.58 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.14e-05/0.1791, allocations: 93.45 kB / 407.3 MB, free: 27.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.1793, allocations: 320.7 kB / 407.6 MB, free: 27.17 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1794, allocations: 4 kB / 407.6 MB, free: 27.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.1794, allocations: 0 / 407.6 MB, free: 27.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1794, allocations: 4 kB / 407.6 MB, free: 27.16 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0005992/0.18, allocations: 0.6127 MB / 408.2 MB, free: 26.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.288e-05/0.18, allocations: 8.031 kB / 408.2 MB, free: 26.49 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.492e-05/0.1801, allocations: 47.44 kB / 408.3 MB, free: 26.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.1803, allocations: 302.9 kB / 408.6 MB, free: 26.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.1803, allocations: 20.55 kB / 408.6 MB, free: 26.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.449e-05/0.1804, allocations: 27.94 kB / 408.6 MB, free: 26.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003537/0.1807, allocations: 283.1 kB / 408.9 MB, free: 25.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.1808, allocations: 3.984 kB / 408.9 MB, free: 25.76 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.1808, allocations: 19.95 kB / 408.9 MB, free: 25.74 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1808, allocations: 11.94 kB / 408.9 MB, free: 25.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/0.1811, allocations: 178 kB / 409.1 MB, free: 25.56 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009187/0.182, allocations: 0.8483 MB / 409.9 MB, free: 24.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003927/0.1824, allocations: 259.6 kB / 410.2 MB, free: 24.39 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.1825, allocations: 97.39 kB / 410.3 MB, free: 24.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.1826, allocations: 8.219 kB / 410.3 MB, free: 24.28 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.1828, allocations: 170.5 kB / 410.5 MB, free: 24.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 1.432e-06/0.1828, allocations: 0 / 410.5 MB, free: 24.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.00164/0.1845, allocations: 1.297 MB / 411.8 MB, free: 22.7 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.1845, allocations: 183.9 kB / 411.9 MB, free: 22.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.1847, allocations: 328.5 kB / 412.3 MB, free: 22.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.1848, allocations: 37.7 kB / 412.3 MB, free: 22.1 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.871e-05/0.1848, allocations: 180.6 kB / 412.5 MB, free: 21.92 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.731e-05/0.1849, allocations: 138 kB / 412.6 MB, free: 21.78 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.202e-05/0.1849, allocations: 8 kB / 412.6 MB, free: 21.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.934e-05/0.185, allocations: 350.8 kB / 413 MB, free: 21.42 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.1851, allocations: 88.83 kB / 413 MB, free: 21.33 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.1853, allocations: 181.2 kB / 413.2 MB, free: 21.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.1855, allocations: 113.6 kB / 413.3 MB, free: 21.01 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1855, allocations: 0 / 413.3 MB, free: 21.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004271/0.1859, allocations: 347 kB / 413.7 MB, free: 20.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.1859, allocations: 4 kB / 413.7 MB, free: 20.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1859, allocations: 0 / 413.7 MB, free: 20.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.526e-05/0.186, allocations: 24.84 kB / 413.7 MB, free: 20.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.1863, allocations: 91.83 kB / 413.8 MB, free: 20.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005807/0.1869, allocations: 1.28 MB / 415.1 MB, free: 19.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.1871, allocations: 27.78 kB / 415.1 MB, free: 19.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.1871, allocations: 12.16 kB / 415.1 MB, free: 19.09 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.1872, allocations: 169.7 kB / 415.3 MB, free: 18.92 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/0.1873, allocations: 39.61 kB / 415.3 MB, free: 18.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.09e-05/0.1873, allocations: 43.94 kB / 415.3 MB, free: 18.83 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.1873, allocations: 8 kB / 415.4 MB, free: 18.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.1873, allocations: 0 / 415.4 MB, free: 18.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003962/0.1877, allocations: 0.6495 MB / 416 MB, free: 18.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007736/0.1885, allocations: 0.8524 MB / 416.9 MB, free: 17.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1885, allocations: 0 / 416.9 MB, free: 17.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002794/0.1888, allocations: 75.89 kB / 416.9 MB, free: 17.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.1888, allocations: 7.953 kB / 416.9 MB, free: 17.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.1888, allocations: 12.12 kB / 417 MB, free: 17.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1889, allocations: 8 kB / 417 MB, free: 17.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1889, allocations: 0 / 417 MB, free: 17.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005219/0.1894, allocations: 0.5298 MB / 417.5 MB, free: 16.49 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.035e-05/0.1895, allocations: 148.6 kB / 417.6 MB, free: 16.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/0.1895, allocations: 11.95 kB / 417.6 MB, free: 16.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.1898, allocations: 23.92 kB / 417.7 MB, free: 16.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.1898, allocations: 19.97 kB / 417.7 MB, free: 16.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.1898, allocations: 16 kB / 417.7 MB, free: 16.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001543/0.19, allocations: 235 kB / 417.9 MB, free: 16.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.19, allocations: 4 kB / 417.9 MB, free: 16.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003028/0.1903, allocations: 96.62 kB / 418 MB, free: 15.93 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (cylinder1.m,cylinder1.H,cylinder2.H,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006793/0.191, allocations: 424.6 kB / 418.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004463/0.1914, allocations: 374 kB / 418.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1915, allocations: 0 / 418.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.1916, allocations: 133.5 kB / 418.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.1921, allocations: 92.08 kB / 419 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.1933, allocations: 1.261 MB / 420.3 MB, free: 13.76 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.1934, allocations: 0.8002 MB / 421.1 MB, free: 12.94 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.456e-05/0.1935, allocations: 35.44 kB / 421.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1935, allocations: 4 kB / 421.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of Templates: time 0.005398/0.1989, allocations: 5.609 MB / 426.7 MB, free: 7.32 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches