Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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) 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(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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001315/0.001315, allocations: 113 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001371/0.001371, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.4 MB / 247.6 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 63.88 kB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2654, allocations: 50.54 MB / 409.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.005033/0.2705, allocations: 3.025 MB / 412.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002565/0.2731, allocations: 1.391 MB / 414.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003033/0.2734, allocations: 7.938 kB / 414.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005986/0.2741, allocations: 147.1 kB / 414.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007464/0.2749, allocations: 218.7 kB / 414.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004458/0.2753, allocations: 135.6 kB / 414.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006951/0.2761, allocations: 446.2 kB / 415.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002582/0.2763, allocations: 103.8 kB / 415.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003212/0.2767, allocations: 179.3 kB / 415.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000344/0.277, allocations: 195.1 kB / 415.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.354e-05/0.2771, allocations: 32 kB / 415.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.2773, allocations: 51.98 kB / 415.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.2774, allocations: 83.69 kB / 415.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002431/0.2777, allocations: 194.9 kB / 416.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006459/0.2783, allocations: 447.6 kB / 416.5 MB, free: 10.99 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.2783, allocations: 0 / 416.5 MB, free: 10.99 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.2783, allocations: 4 kB / 416.5 MB, free: 10.99 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.147e-05/0.2784, allocations: 0 / 416.5 MB, free: 10.99 MB / 334.1 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.001365/0.2797, allocations: 0.6867 MB / 417.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.2798, allocations: 8.031 kB / 417.2 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.28, allocations: 44.47 kB / 417.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005529/0.2805, allocations: 324.5 kB / 417.6 MB, free: 9.844 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.2806, allocations: 20.94 kB / 417.6 MB, free: 9.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.885e-05/0.2806, allocations: 32.12 kB / 417.6 MB, free: 9.789 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005389/0.2812, allocations: 291.1 kB / 417.9 MB, free: 9.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.2812, allocations: 7.906 kB / 417.9 MB, free: 9.473 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.614e-05/0.2812, allocations: 12 kB / 417.9 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.2813, allocations: 4 kB / 417.9 MB, free: 9.457 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003558/0.2816, allocations: 182.1 kB / 418.1 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.283, allocations: 0.8288 MB / 419 MB, free: 8.383 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005368/0.2835, allocations: 263.4 kB / 419.2 MB, free: 8.117 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.2837, allocations: 93.39 kB / 419.3 MB, free: 8.023 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.2838, allocations: 8.266 kB / 419.3 MB, free: 8.016 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002961/0.2841, allocations: 159.2 kB / 419.5 MB, free: 7.852 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 3.627e-06/0.2841, allocations: 0 / 419.5 MB, free: 7.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.00237/0.2865, allocations: 1.319 MB / 420.8 MB, free: 6.418 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.372e-05/0.2866, allocations: 187.9 kB / 421 MB, free: 6.191 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000341/0.2869, allocations: 332.5 kB / 421.3 MB, free: 5.859 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.288e-05/0.287, allocations: 37.7 kB / 421.3 MB, free: 5.816 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.2871, allocations: 188.6 kB / 421.5 MB, free: 5.629 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.2872, allocations: 145.9 kB / 421.7 MB, free: 5.484 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.2873, allocations: 74.12 kB / 421.7 MB, free: 5.406 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.2875, allocations: 346.8 kB / 422.1 MB, free: 5.059 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.2876, allocations: 84.84 kB / 422.2 MB, free: 4.977 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/0.2879, allocations: 193.2 kB / 422.3 MB, free: 4.754 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003777/0.2883, allocations: 246.2 kB / 422.6 MB, free: 4.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2883, allocations: 4 kB / 422.6 MB, free: 4.496 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005637/0.2889, allocations: 354.5 kB / 422.9 MB, free: 4.141 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.2889, allocations: 4 kB / 422.9 MB, free: 4.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.2889, allocations: 0 / 422.9 MB, free: 4.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-05/0.289, allocations: 20.86 kB / 423 MB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.2894, allocations: 91.89 kB / 423 MB, free: 4.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.2904, allocations: 1.39 MB / 424.4 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.2907, allocations: 24 kB / 424.5 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.2907, allocations: 15.98 kB / 424.5 MB, free: 2.457 MB / 334.1 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 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001959/0.2909, allocations: 157.8 kB / 424.6 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.44e-05/0.291, allocations: 35.62 kB / 424.7 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.687e-05/0.2911, allocations: 47.95 kB / 424.7 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2911, allocations: 4 kB / 424.7 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.2911, allocations: 3.938 kB / 424.7 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006127/0.2917, allocations: 0.665 MB / 425.4 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.2929, allocations: 0.8452 MB / 426.2 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/0.2929, allocations: 4 kB / 426.2 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003258/0.2932, allocations: 79.89 kB / 426.3 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.2932, allocations: 0 / 426.3 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.2932, allocations: 12.12 kB / 426.3 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.543e-06/0.2933, allocations: 7.938 kB / 426.3 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2933, allocations: 4.062 kB / 426.3 MB, free: 420 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000783/0.2941, allocations: 0.5541 MB / 426.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.2942, allocations: 136.6 kB / 427 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.223e-05/0.2943, allocations: 8 kB / 427 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.2945, allocations: 19.98 kB / 427 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.118e-05/0.2946, allocations: 27.91 kB / 427.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.2946, allocations: 12 kB / 427.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000239/0.2949, allocations: 247 kB / 427.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2949, allocations: 0 / 427.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004302/0.2953, allocations: 100.6 kB / 427.4 MB, free: 15.26 MB / 350.1 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 (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.0009077/0.2962, allocations: 419 kB / 427.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006616/0.2969, allocations: 362.5 kB / 428.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.2969, allocations: 0 / 428.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.2971, allocations: 136.3 kB / 428.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000579/0.2977, allocations: 98.66 kB / 428.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.2994, allocations: 1.062 MB / 429.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.2998, allocations: 0.804 MB / 430.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.838e-05/0.2999, allocations: 35.44 kB / 430.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of SimCode: time 2.905e-06/0.2999, allocations: 0 / 430.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of Templates: time 0.008795/0.3087, allocations: 5.782 MB / 436.1 MB, free: 6.668 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches