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.001275/0.001275, allocations: 114 kB / 16.63 MB, free: 6.812 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.00145/0.00145, allocations: 189.8 kB / 17.55 MB, free: 5.934 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.381/1.381, allocations: 222.9 MB / 241.2 MB, free: 13.72 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 46.42 kB / 300.2 MB, free: 5.871 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09295/0.09405, allocations: 49.44 MB / 349.7 MB, free: 4.418 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005038/0.09912, allocations: 3.77 MB / 353.5 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.101, allocations: 0.9852 MB / 354.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003792/0.1014, allocations: 8 kB / 354.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004318/0.1019, allocations: 99.3 kB / 354.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005676/0.1025, allocations: 178.6 kB / 354.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000445/0.1029, allocations: 111.9 kB / 354.8 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001164/0.1041, allocations: 0.697 MB / 355.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004299/0.1046, allocations: 215 kB / 355.7 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006187/0.1052, allocations: 267 kB / 356 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006878/0.1059, allocations: 310.6 kB / 356.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.1061, allocations: 60 kB / 356.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.1063, allocations: 60 kB / 356.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.1064, allocations: 127.6 kB / 356.5 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004313/0.1069, allocations: 322.5 kB / 356.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008088/0.1077, allocations: 0.7085 MB / 357.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.1077, allocations: 0 / 357.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1077, allocations: 0 / 357.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.866e-05/0.1078, allocations: 0 / 357.6 MB, free: 12.49 MB / 302.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.001996/0.1098, allocations: 0.917 MB / 358.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.1098, allocations: 8.031 kB / 358.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001471/0.11, allocations: 83.62 kB / 358.6 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.1101, allocations: 68.19 kB / 358.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007294/0.1109, allocations: 442.8 kB / 359.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002241/0.1111, allocations: 87.16 kB / 359.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.087e-05/0.1112, allocations: 36.38 kB / 359.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009431/0.1121, allocations: 0.5176 MB / 359.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.1122, allocations: 0 / 359.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.363e-05/0.1122, allocations: 16 kB / 359.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.1122, allocations: 12 kB / 359.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009692/0.1132, allocations: 383.7 kB / 360.1 MB, free: 9.777 MB / 302.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.002323/0.1155, allocations: 1.37 MB / 361.5 MB, free: 8.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008982/0.1164, allocations: 466.5 kB / 361.9 MB, free: 7.836 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004507/0.1169, allocations: 208 kB / 362.1 MB, free: 7.633 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.466e-05/0.117, allocations: 8 kB / 362.1 MB, free: 7.625 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.117, allocations: 39.22 kB / 362.2 MB, free: 7.578 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 2.926e-06/0.117, allocations: 0 / 362.2 MB, free: 7.578 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.001772/0.1188, allocations: 0.7856 MB / 363 MB, free: 6.742 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001869/0.119, allocations: 449 kB / 363.4 MB, free: 6.199 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005399/0.1195, allocations: 482 kB / 363.9 MB, free: 5.715 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.513e-05/0.1196, allocations: 33.7 kB / 363.9 MB, free: 5.676 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.1198, allocations: 252.3 kB / 364.2 MB, free: 5.426 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.1199, allocations: 126.1 kB / 364.3 MB, free: 5.301 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.12, allocations: 77.61 kB / 364.4 MB, free: 5.219 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1202, allocations: 362.8 kB / 364.7 MB, free: 4.855 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004286/0.1206, allocations: 171.8 kB / 364.9 MB, free: 4.688 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005333/0.1212, allocations: 306.4 kB / 365.2 MB, free: 4.336 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008405/0.122, allocations: 370.8 kB / 365.5 MB, free: 3.961 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.122, allocations: 4 kB / 365.5 MB, free: 3.957 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001106/0.1231, allocations: 0.5116 MB / 366.1 MB, free: 3.426 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.39e-05/0.1232, allocations: 29.7 kB / 366.1 MB, free: 3.391 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.1232, allocations: 4 kB / 366.1 MB, free: 3.387 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001689/0.1234, allocations: 53.56 kB / 366.1 MB, free: 3.328 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004465/0.1238, allocations: 95.88 kB / 366.2 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1828/0.3066, allocations: 2.954 MB / 369.2 MB, free: 24.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000691/0.3073, allocations: 63.19 kB / 369.3 MB, free: 24.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.272e-05/0.3074, allocations: 11.06 kB / 369.3 MB, free: 24.94 MB / 302.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.000271/0.3077, allocations: 173.6 kB / 369.4 MB, free: 24.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.3078, allocations: 55.11 kB / 369.5 MB, free: 24.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.3079, allocations: 60.2 kB / 369.5 MB, free: 24.81 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.3079, allocations: 4.719 kB / 369.5 MB, free: 24.81 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3079, allocations: 0.5938 kB / 369.5 MB, free: 24.81 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009739/0.3089, allocations: 0.7602 MB / 370.3 MB, free: 24.28 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/0.3107, allocations: 1.08 MB / 371.4 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3107, allocations: 2.25 kB / 371.4 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005054/0.3112, allocations: 93.67 kB / 371.5 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.3112, allocations: 1.359 kB / 371.5 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.3113, allocations: 10.22 kB / 371.5 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.3113, allocations: 0.6562 kB / 371.5 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.3113, allocations: 3 kB / 371.5 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.3127, allocations: 0.7187 MB / 372.2 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.3129, allocations: 177.9 kB / 372.4 MB, free: 23.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.953e-05/0.3129, allocations: 8.844 kB / 372.4 MB, free: 23.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003914/0.3133, allocations: 40.3 kB / 372.4 MB, free: 23.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.796e-05/0.3134, allocations: 24.05 kB / 372.5 MB, free: 23.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.3134, allocations: 8.422 kB / 372.5 MB, free: 23.7 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003691/0.3138, allocations: 344.8 kB / 372.8 MB, free: 23.61 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3138, allocations: 0 / 372.8 MB, free: 23.61 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004535/0.3143, allocations: 140.7 kB / 372.9 MB, free: 23.59 MB / 302.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.001628/0.3159, allocations: 1.271 MB / 374.2 MB, free: 22.72 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001301/0.3172, allocations: 0.6902 MB / 374.9 MB, free: 22.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3173, allocations: 0 / 374.9 MB, free: 22.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004677/0.3177, allocations: 198.4 kB / 375.1 MB, free: 22.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007782/0.3185, allocations: 148.8 kB / 375.2 MB, free: 22.24 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006928/0.3255, allocations: 5.061 MB / 380.3 MB, free: 19.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.3258, allocations: 0.835 MB / 381.1 MB, free: 18.61 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003442/0.3262, allocations: 64.55 kB / 381.2 MB, free: 18.6 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002617/0.3265, allocations: 180.5 kB / 381.4 MB, free: 18.47 MB / 302.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3265, allocations: 4 kB / 381.4 MB, free: 18.47 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03678/0.3632, allocations: 13.57 MB / 395 MB, free: 12.09 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001626/0.3634, allocations: 231.7 kB / 395.2 MB, free: 11.83 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.097/2.461, allocations: 0 / 395.2 MB, free: 11.83 MB / 302.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