Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_3_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.001096/0.001096, allocations: 106.5 kB / 17.73 MB, free: 5.363 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.001182/0.001182, allocations: 187.1 kB / 18.66 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.364/1.364, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 55.92 kB / 328 MB, free: 3.832 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08941/0.09072, allocations: 46.62 MB / 374.6 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.00543/0.09619, allocations: 3.74 MB / 378.4 MB, free: 1.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002114/0.09833, allocations: 1.04 MB / 379.4 MB, free: 300 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005264/0.09895, allocations: 11.94 kB / 379.4 MB, free: 288 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004873/0.09945, allocations: 111.1 kB / 379.5 MB, free: 176 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1852/0.2847, allocations: 204.1 kB / 379.7 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006312/0.2853, allocations: 136.9 kB / 379.9 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001421/0.2868, allocations: 0.7056 MB / 380.6 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004453/0.2873, allocations: 207.5 kB / 380.8 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004886/0.2878, allocations: 273.3 kB / 381 MB, free: 9.312 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004298/0.2882, allocations: 304 kB / 381.3 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.2883, allocations: 59.12 kB / 381.4 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.2885, allocations: 60.91 kB / 381.5 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.2886, allocations: 131.2 kB / 381.6 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000404/0.289, allocations: 326.3 kB / 381.9 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.2902, allocations: 0.7246 MB / 382.6 MB, free: 9.027 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2902, allocations: 0 / 382.6 MB, free: 9.027 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.2902, allocations: 0 / 382.6 MB, free: 9.027 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.2902, allocations: 0 / 382.6 MB, free: 9.027 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.001538/0.2918, allocations: 0.9306 MB / 383.6 MB, free: 8.418 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.2918, allocations: 9.906 kB / 383.6 MB, free: 8.418 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/0.2919, allocations: 82.36 kB / 383.7 MB, free: 8.371 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.292, allocations: 71.42 kB / 383.7 MB, free: 8.336 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007269/0.2928, allocations: 449.1 kB / 384.2 MB, free: 8.066 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.2929, allocations: 61.09 kB / 384.2 MB, free: 8.035 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.249e-05/0.293, allocations: 35.78 kB / 384.3 MB, free: 8.035 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009341/0.2939, allocations: 0.5093 MB / 384.8 MB, free: 7.852 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.2939, allocations: 0 / 384.8 MB, free: 7.852 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/0.294, allocations: 18.47 kB / 384.8 MB, free: 7.852 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.294, allocations: 9.016 kB / 384.8 MB, free: 7.852 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008728/0.2949, allocations: 358.7 kB / 385.1 MB, free: 7.812 MB / 318.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.002183/0.2971, allocations: 1.358 MB / 386.5 MB, free: 6.969 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008971/0.298, allocations: 453.7 kB / 386.9 MB, free: 6.734 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004475/0.2985, allocations: 196.8 kB / 387.1 MB, free: 6.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.847e-05/0.2985, allocations: 8.984 kB / 387.1 MB, free: 6.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.2985, allocations: 39.47 kB / 387.2 MB, free: 6.617 MB / 318.1 MB Notification: Performance of pre-optimization done (n=37): time 2.404e-06/0.2985, allocations: 0 / 387.2 MB, free: 6.617 MB / 318.1 MB Notification: Performance of matching and sorting (n=37): time 0.00169/0.3002, allocations: 0.7442 MB / 387.9 MB, free: 6.191 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/0.3004, allocations: 449.3 kB / 388.4 MB, free: 5.656 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006334/0.301, allocations: 477.1 kB / 388.8 MB, free: 5.426 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.147e-05/0.3011, allocations: 33.14 kB / 388.9 MB, free: 5.391 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.3013, allocations: 255.7 kB / 389.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.3014, allocations: 136.9 kB / 389.2 MB, free: 5.078 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.3015, allocations: 80.47 kB / 389.3 MB, free: 5.031 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.3017, allocations: 362.1 kB / 389.7 MB, free: 4.695 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004018/0.3021, allocations: 140.6 kB / 389.8 MB, free: 4.652 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005583/0.3026, allocations: 287.7 kB / 390.1 MB, free: 4.449 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000871/0.3035, allocations: 354.6 kB / 390.4 MB, free: 4.277 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.3035, allocations: 0 / 390.4 MB, free: 4.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001137/0.3047, allocations: 0.4939 MB / 390.9 MB, free: 4.035 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.837e-05/0.3047, allocations: 36.84 kB / 391 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.3048, allocations: 1.359 kB / 391 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002258/0.305, allocations: 53.3 kB / 391 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004552/0.3055, allocations: 90.36 kB / 391.1 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/0.3074, allocations: 2.962 MB / 394.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005125/0.3079, allocations: 51.39 kB / 394.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/0.3079, allocations: 12.64 kB / 394.1 MB, free: 1.02 MB / 318.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.0002258/0.3082, allocations: 173.4 kB / 394.3 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.3083, allocations: 58.27 kB / 394.4 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.3084, allocations: 63.91 kB / 394.4 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.3084, allocations: 4.328 kB / 394.4 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3084, allocations: 3.938 kB / 394.4 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009359/0.3093, allocations: 0.7413 MB / 395.2 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/0.3112, allocations: 1.064 MB / 396.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3113, allocations: 0 / 396.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000455/0.3117, allocations: 93.47 kB / 396.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.3117, allocations: 3.75 kB / 396.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.3118, allocations: 10.34 kB / 396.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3118, allocations: 5.188 kB / 396.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3118, allocations: 0 / 396.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.3132, allocations: 0.6772 MB / 397 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002415/0.3135, allocations: 169.1 kB / 397.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.006e-05/0.3135, allocations: 11.34 kB / 397.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003863/0.3139, allocations: 29.48 kB / 397.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/0.314, allocations: 27.8 kB / 397.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.3141, allocations: 10.36 kB / 397.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004154/0.3145, allocations: 342 kB / 397.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3145, allocations: 4.062 kB / 397.6 MB, free: 14.87 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004998/0.315, allocations: 147.7 kB / 397.8 MB, free: 14.84 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.001732/0.3167, allocations: 1.219 MB / 399 MB, free: 13.97 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001357/0.3181, allocations: 0.6539 MB / 399.6 MB, free: 13.56 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3181, allocations: 1.562 kB / 399.6 MB, free: 13.56 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004741/0.3186, allocations: 190.6 kB / 399.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007579/0.3194, allocations: 138.9 kB / 399.9 MB, free: 13.45 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007273/0.3266, allocations: 4.669 MB / 404.6 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.3271, allocations: 0.8384 MB / 405.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000349/0.3275, allocations: 69.47 kB / 405.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/0.3277, allocations: 181.2 kB / 405.7 MB, free: 10 MB / 334.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3278, allocations: 0 / 405.7 MB, free: 10 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05418/0.3819, allocations: 14.02 MB / 419.7 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.38, allocations: 13.03 kB / 419.7 MB, free: 0.6367 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches