Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 116.2 kB / 17.74 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 183.1 kB / 18.67 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00106/0.00106, allocations: 47.92 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2719, allocations: 49.43 MB / 401.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005129/0.2771, allocations: 4.37 MB / 405.8 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002159/0.2793, allocations: 1.211 MB / 407 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002713/0.2796, allocations: 8 kB / 407 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003689/0.28, allocations: 134.8 kB / 407.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005696/0.2805, allocations: 273.8 kB / 407.4 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004815/0.281, allocations: 195.7 kB / 407.6 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000928/0.282, allocations: 0.9258 MB / 408.5 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003701/0.2824, allocations: 245.8 kB / 408.7 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004387/0.2828, allocations: 366.7 kB / 409.1 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004257/0.2833, allocations: 402.3 kB / 409.5 MB, free: 0.707 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.802e-05/0.2834, allocations: 79.94 kB / 409.6 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.2835, allocations: 80 kB / 409.7 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.2836, allocations: 171.4 kB / 409.8 MB, free: 392 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004161/0.2841, allocations: 410.3 kB / 410.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009781/0.285, allocations: 0.9184 MB / 411.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.2851, allocations: 0 / 411.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.2851, allocations: 0 / 411.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.2851, allocations: 0 / 411.1 MB, free: 15.06 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002111/0.2872, allocations: 1.124 MB / 412.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.2873, allocations: 11.97 kB / 412.3 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.2874, allocations: 84 kB / 412.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007191/0.2881, allocations: 492.5 kB / 412.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/0.2883, allocations: 96.95 kB / 412.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.151e-05/0.2884, allocations: 52.38 kB / 413 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.2895, allocations: 0.6477 MB / 413.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.2895, allocations: 8 kB / 413.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.26e-05/0.2896, allocations: 16 kB / 413.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.2896, allocations: 15.94 kB / 413.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.2907, allocations: 447.7 kB / 414.1 MB, free: 11.91 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002961/0.2937, allocations: 1.944 MB / 416.1 MB, free: 9.836 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.2955, allocations: 0.6914 MB / 416.7 MB, free: 9.113 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005478/0.2961, allocations: 262.1 kB / 417 MB, free: 8.855 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.397e-05/0.2962, allocations: 16.42 kB / 417 MB, free: 8.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.2962, allocations: 39 kB / 417.1 MB, free: 8.793 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 1.844e-06/0.2962, allocations: 0 / 417.1 MB, free: 8.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=54): time 0.004751/0.301, allocations: 1.484 MB / 418.5 MB, free: 7.234 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002317/0.3012, allocations: 0.5643 MB / 419.1 MB, free: 6.535 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006293/0.3018, allocations: 0.5381 MB / 419.6 MB, free: 5.984 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.39e-05/0.3019, allocations: 37.7 kB / 419.7 MB, free: 5.941 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.3021, allocations: 288.9 kB / 420 MB, free: 5.648 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.3023, allocations: 189.2 kB / 420.1 MB, free: 5.461 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/0.3025, allocations: 114.2 kB / 420.3 MB, free: 5.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3026, allocations: 370.8 kB / 420.6 MB, free: 4.969 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004987/0.3031, allocations: 193 kB / 420.8 MB, free: 4.781 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006712/0.3038, allocations: 421.8 kB / 421.2 MB, free: 4.293 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.3049, allocations: 488.5 kB / 421.7 MB, free: 3.801 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3049, allocations: 0 / 421.7 MB, free: 3.801 MB / 334.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002268/0.3072, allocations: 0.8107 MB / 422.5 MB, free: 2.965 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.745e-05/0.3072, allocations: 29.7 kB / 422.5 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.3072, allocations: 4 kB / 422.5 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009879/0.3082, allocations: 214.4 kB / 422.7 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000703/0.3089, allocations: 127.8 kB / 422.9 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007418/0.3164, allocations: 5.611 MB / 428.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007036/0.3171, allocations: 83.48 kB / 428.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.381e-05/0.3171, allocations: 19.98 kB / 428.6 MB, free: 12.46 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(5,2), (1,1), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003607/0.3175, allocations: 193.7 kB / 428.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.3176, allocations: 67.25 kB / 428.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002244/0.3199, allocations: 0.7734 MB / 429.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.3199, allocations: 8 kB / 429.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.3199, allocations: 0 / 429.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002142/0.3221, allocations: 1.042 MB / 430.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003045/0.3251, allocations: 1.498 MB / 432.2 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.3251, allocations: 7.938 kB / 432.2 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007138/0.3259, allocations: 127.9 kB / 432.3 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007938/0.3267, allocations: 181.7 kB / 432.5 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/0.3267, allocations: 16 kB / 432.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004897/0.3316, allocations: 3.794 MB / 436.3 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3316, allocations: 4.031 kB / 436.3 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00269/0.3343, allocations: 1.067 MB / 437.4 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002936/0.3346, allocations: 212.1 kB / 437.6 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.827e-05/0.3347, allocations: 12 kB / 437.6 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004923/0.3352, allocations: 35.91 kB / 437.6 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.3354, allocations: 44.5 kB / 437.6 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/0.3354, allocations: 19.92 kB / 437.7 MB, free: 2.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004461/0.3359, allocations: 386.8 kB / 438 MB, free: 2.457 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3359, allocations: 0 / 438 MB, free: 2.457 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007127/0.3366, allocations: 215.8 kB / 438.3 MB, free: 2.246 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * 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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000159/0.3367, allocations: 119.9 kB / 438.4 MB, free: 2.121 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002258/0.339, allocations: 1.03 MB / 439.4 MB, free: 1.039 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.339, allocations: 4.188 kB / 439.4 MB, free: 1.035 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009786/0.34, allocations: 0.5393 MB / 439.9 MB, free: 480 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008105/0.3408, allocations: 186.6 kB / 440.1 MB, free: 292 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/0.3433, allocations: 1.294 MB / 441.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004543/0.3437, allocations: 0.8879 MB / 442.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.3439, allocations: 55.42 kB / 442.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3439, allocations: 0 / 442.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of Templates: time 0.01855/0.3625, allocations: 15.44 MB / 457.8 MB, free: 14.63 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches