Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001539, allocations: 105.6 kB / 17.06 MB, free: 6.023 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.001818/0.001818, allocations: 195 kB / 18 MB, free: 5.105 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.329/1.329, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 43.94 kB / 350.8 MB, free: 3.789 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2721, allocations: 49.45 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004973/0.2771, allocations: 3.748 MB / 404 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.2791, allocations: 0.9946 MB / 405 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003648/0.2795, allocations: 7.938 kB / 405 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.2798, allocations: 107.1 kB / 405.1 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005191/0.2804, allocations: 202.3 kB / 405.3 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.2807, allocations: 135.8 kB / 405.4 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008919/0.2816, allocations: 0.7042 MB / 406.1 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003403/0.282, allocations: 202.8 kB / 406.3 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003561/0.2824, allocations: 274.9 kB / 406.6 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000408/0.2828, allocations: 306.7 kB / 406.9 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.2829, allocations: 63.94 kB / 406.9 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.283, allocations: 60 kB / 407 MB, free: 2 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.2831, allocations: 123.6 kB / 407.1 MB, free: 1.879 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002983/0.2834, allocations: 326.4 kB / 407.4 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006543/0.2841, allocations: 0.7163 MB / 408.2 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2841, allocations: 0 / 408.2 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2841, allocations: 0 / 408.2 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.362e-05/0.2841, allocations: 0 / 408.2 MB, free: 0.8398 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001668/0.2858, allocations: 0.9171 MB / 409.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.2858, allocations: 8.031 kB / 409.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001177/0.286, allocations: 83.62 kB / 409.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.2861, allocations: 64.19 kB / 409.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006869/0.2868, allocations: 454.7 kB / 409.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.383e-05/0.2869, allocations: 63.25 kB / 409.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.031e-05/0.287, allocations: 40.31 kB / 409.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008339/0.2878, allocations: 0.4981 MB / 410.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.2878, allocations: 3.938 kB / 410.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.968e-05/0.2879, allocations: 20 kB / 410.3 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.2879, allocations: 12 kB / 410.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000828/0.2887, allocations: 351.8 kB / 410.7 MB, free: 14.18 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.002067/0.2908, allocations: 1.359 MB / 412 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008966/0.2917, allocations: 456.2 kB / 412.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004174/0.2921, allocations: 197.5 kB / 412.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.428e-05/0.2922, allocations: 7.938 kB / 412.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.2922, allocations: 42.56 kB / 412.7 MB, free: 12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 1.913e-06/0.2922, allocations: 0 / 412.7 MB, free: 12 MB / 334.1 MB Notification: Performance of matching and sorting (n=37): time 0.001628/0.2938, allocations: 0.7466 MB / 413.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001619/0.294, allocations: 444.9 kB / 413.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005054/0.2945, allocations: 478 kB / 414.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.2946, allocations: 37.64 kB / 414.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.2948, allocations: 248.4 kB / 414.6 MB, free: 9.891 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.2949, allocations: 130.1 kB / 414.8 MB, free: 9.762 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.295, allocations: 77.69 kB / 414.8 MB, free: 9.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.2952, allocations: 366.8 kB / 415.2 MB, free: 9.312 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003828/0.2956, allocations: 139.9 kB / 415.3 MB, free: 9.176 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005595/0.2961, allocations: 293.8 kB / 415.6 MB, free: 8.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007617/0.2969, allocations: 351 kB / 416 MB, free: 8.484 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2969, allocations: 0 / 416 MB, free: 8.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009982/0.2979, allocations: 499.6 kB / 416.4 MB, free: 7.977 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.652e-05/0.298, allocations: 41.67 kB / 416.5 MB, free: 7.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.298, allocations: 0 / 416.5 MB, free: 7.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00016/0.2982, allocations: 53.62 kB / 416.5 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004055/0.2986, allocations: 87.88 kB / 416.6 MB, free: 7.785 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/0.3009, allocations: 2.957 MB / 419.6 MB, free: 4.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000431/0.3014, allocations: 51.64 kB / 419.6 MB, free: 4.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.3014, allocations: 19.98 kB / 419.6 MB, free: 4.48 MB / 334.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * 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 {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002091/0.3016, allocations: 169.8 kB / 419.8 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.873e-05/0.3017, allocations: 59.28 kB / 419.9 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.3019, allocations: 60.86 kB / 419.9 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3019, allocations: 4 kB / 419.9 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.3019, allocations: 0 / 419.9 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009189/0.3028, allocations: 0.7386 MB / 420.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.3046, allocations: 1.061 MB / 421.7 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3046, allocations: 4 kB / 421.7 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004782/0.3051, allocations: 91.88 kB / 421.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.3051, allocations: 0 / 421.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.609e-05/0.3052, allocations: 11.98 kB / 421.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3052, allocations: 80 / 421.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3052, allocations: 3.984 kB / 421.8 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.3065, allocations: 0.6718 MB / 422.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002443/0.3068, allocations: 168.4 kB / 422.7 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.534e-05/0.3069, allocations: 11.98 kB / 422.7 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/0.3073, allocations: 32.03 kB / 422.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.634e-05/0.3073, allocations: 27.91 kB / 422.7 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.3074, allocations: 8 kB / 422.8 MB, free: 1.145 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004036/0.3078, allocations: 342.9 kB / 423.1 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3078, allocations: 0 / 423.1 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004699/0.3083, allocations: 139.8 kB / 423.2 MB, free: 0.6758 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * 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 (37): * Single equations (assignments): 37 * 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 Backend phase and start with SimCode phase: time 0.00161/0.3099, allocations: 1.228 MB / 424.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.3112, allocations: 0.6489 MB / 425.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3112, allocations: 0 / 425.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000421/0.3116, allocations: 187.8 kB / 425.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007227/0.3124, allocations: 152.2 kB / 425.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007049/0.3194, allocations: 4.657 MB / 430.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.3199, allocations: 0.8354 MB / 430.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003139/0.3202, allocations: 60.53 kB / 431 MB, free: 8.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002763/0.3205, allocations: 183.4 kB / 431.2 MB, free: 8.539 MB / 350.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3205, allocations: 4 kB / 431.2 MB, free: 8.535 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03825/0.3588, allocations: 14.3 MB / 445.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.8, allocations: 7.812 kB / 445.5 MB, free: 10.52 MB / 366.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches