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.001156/0.001156, allocations: 112.2 kB / 17.74 MB, free: 5.355 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.001171/0.001171, allocations: 179.1 kB / 18.66 MB, free: 4.438 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.472/1.472, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 47.92 kB / 352 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2784, allocations: 49.43 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.006503/0.285, allocations: 4.372 MB / 405.8 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002757/0.2878, allocations: 1.211 MB / 407 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006021/0.2884, allocations: 8 kB / 407 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005292/0.289, allocations: 134.8 kB / 407.1 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008656/0.2899, allocations: 265.8 kB / 407.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005638/0.2904, allocations: 199.7 kB / 407.6 MB, free: 2.684 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001396/0.2919, allocations: 0.9246 MB / 408.5 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004622/0.2923, allocations: 249.8 kB / 408.7 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005797/0.2929, allocations: 362.7 kB / 409.1 MB, free: 1.152 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000455/0.2934, allocations: 414.3 kB / 409.5 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.2935, allocations: 76 kB / 409.6 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.2936, allocations: 76 kB / 409.7 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.2938, allocations: 171.4 kB / 409.8 MB, free: 440 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003975/0.2942, allocations: 418.1 kB / 410.2 MB, free: 20 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000959/0.2952, allocations: 0.9147 MB / 411.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2952, allocations: 0 / 411.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2952, allocations: 7.938 kB / 411.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.2952, allocations: 0 / 411.2 MB, free: 15.1 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.001985/0.2972, allocations: 1.109 MB / 412.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.2972, allocations: 12.03 kB / 412.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.2974, allocations: 88 kB / 412.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006872/0.2981, allocations: 488.5 kB / 412.8 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/0.2982, allocations: 101 kB / 412.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.571e-05/0.2983, allocations: 44.38 kB / 413 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.2995, allocations: 0.6516 MB / 413.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.2995, allocations: 3.938 kB / 413.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.163e-05/0.2996, allocations: 20 kB / 413.7 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.2996, allocations: 12 kB / 413.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.3007, allocations: 451.7 kB / 414.1 MB, free: 11.95 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.003125/0.3038, allocations: 1.951 MB / 416.1 MB, free: 9.875 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001877/0.3057, allocations: 0.6759 MB / 416.7 MB, free: 9.168 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005474/0.3062, allocations: 266 kB / 417 MB, free: 8.906 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.488e-05/0.3063, allocations: 16.41 kB / 417 MB, free: 8.891 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.3063, allocations: 47 kB / 417.1 MB, free: 8.836 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 1.833e-06/0.3063, allocations: 0 / 417.1 MB, free: 8.836 MB / 334.1 MB Notification: Performance of matching and sorting (n=54): time 0.004955/0.3113, allocations: 1.476 MB / 418.5 MB, free: 7.285 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002455/0.3116, allocations: 0.5683 MB / 419.1 MB, free: 6.582 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006177/0.3122, allocations: 0.5381 MB / 419.6 MB, free: 6.031 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.881e-05/0.3123, allocations: 41.7 kB / 419.7 MB, free: 5.984 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.3125, allocations: 280.9 kB / 419.9 MB, free: 5.699 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.3126, allocations: 189.2 kB / 420.1 MB, free: 5.512 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/0.3128, allocations: 110.2 kB / 420.2 MB, free: 5.395 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.313, allocations: 378.8 kB / 420.6 MB, free: 5.016 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005017/0.3135, allocations: 193 kB / 420.8 MB, free: 4.828 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006954/0.3142, allocations: 412.2 kB / 421.2 MB, free: 4.348 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.3153, allocations: 496.5 kB / 421.7 MB, free: 3.848 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3153, allocations: 0 / 421.7 MB, free: 3.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002284/0.3176, allocations: 0.8068 MB / 422.5 MB, free: 3.016 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.13e-05/0.3176, allocations: 33.7 kB / 422.5 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.3177, allocations: 0 / 422.5 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.3187, allocations: 222.4 kB / 422.7 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007365/0.3195, allocations: 131.8 kB / 422.9 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007866/0.3273, allocations: 5.607 MB / 428.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006936/0.328, allocations: 71.55 kB / 428.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/0.3281, allocations: 19.98 kB / 428.6 MB, free: 12.51 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.0003422/0.3285, allocations: 197.7 kB / 428.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.3286, allocations: 67.25 kB / 428.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002303/0.3309, allocations: 0.7812 MB / 429.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.331, allocations: 4 kB / 429.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.331, allocations: 128 / 429.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002167/0.3332, allocations: 1.046 MB / 430.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003221/0.3364, allocations: 1.498 MB / 432.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.3364, allocations: 3.938 kB / 432.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007466/0.3372, allocations: 131.8 kB / 432.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008494/0.338, allocations: 177.7 kB / 432.5 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.046e-05/0.3381, allocations: 11.98 kB / 432.5 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005269/0.3434, allocations: 3.802 MB / 436.3 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3434, allocations: 0 / 436.3 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002917/0.3463, allocations: 1.071 MB / 437.3 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004137/0.3467, allocations: 208 kB / 437.6 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.3469, allocations: 12 kB / 437.6 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005527/0.3475, allocations: 35.97 kB / 437.6 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.3476, allocations: 44.5 kB / 437.6 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.347e-05/0.3477, allocations: 23.92 kB / 437.7 MB, free: 2.875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004916/0.3482, allocations: 382.8 kB / 438 MB, free: 2.504 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.3482, allocations: 0 / 438 MB, free: 2.504 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007864/0.349, allocations: 215.8 kB / 438.3 MB, free: 2.293 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.0001754/0.3491, allocations: 119.9 kB / 438.4 MB, free: 2.168 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002409/0.3516, allocations: 1.03 MB / 439.4 MB, free: 1.086 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.3516, allocations: 4 kB / 439.4 MB, free: 1.082 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.3526, allocations: 0.5434 MB / 439.9 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009236/0.3536, allocations: 182.5 kB / 440.1 MB, free: 340 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.3561, allocations: 1.295 MB / 441.4 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/0.3566, allocations: 0.8879 MB / 442.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.3568, allocations: 55.42 kB / 442.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3568, allocations: 0 / 442.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of Templates: time 0.01998/0.3768, allocations: 15.44 MB / 457.8 MB, free: 14.68 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