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.0009842/0.0009842, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.0009904/0.0009904, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.227/1.227, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 51.55 kB / 300.7 MB, free: 5.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08273/0.08437, allocations: 49.44 MB / 350.2 MB, free: 4.316 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004279/0.08868, allocations: 3.741 MB / 353.9 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.09025, allocations: 0.9929 MB / 354.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002925/0.09056, allocations: 4 kB / 354.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.0909, allocations: 119 kB / 355 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004395/0.09135, allocations: 202.3 kB / 355.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.09164, allocations: 139.8 kB / 355.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000696/0.09234, allocations: 0.7003 MB / 356 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002665/0.09262, allocations: 211 kB / 356.3 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002932/0.09293, allocations: 267 kB / 356.5 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003278/0.09326, allocations: 302.7 kB / 356.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.525e-05/0.09335, allocations: 60 kB / 356.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.944e-05/0.09346, allocations: 60 kB / 356.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.09357, allocations: 135.5 kB / 357.1 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000269/0.09384, allocations: 318.5 kB / 357.4 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00055/0.0944, allocations: 0.7046 MB / 358.1 MB, free: 12.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.09441, allocations: 0 / 358.1 MB, free: 12.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.09442, allocations: 0 / 358.1 MB, free: 12.35 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.09444, allocations: 4 kB / 358.1 MB, free: 12.35 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.00141/0.09585, allocations: 0.9169 MB / 359 MB, free: 11.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.09589, allocations: 12.03 kB / 359 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001037/0.096, allocations: 83.62 kB / 359.1 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.09612, allocations: 68.19 kB / 359.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005845/0.09671, allocations: 434.8 kB / 359.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001876/0.09691, allocations: 87.22 kB / 359.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.005e-05/0.09697, allocations: 36.38 kB / 359.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008088/0.09778, allocations: 0.5253 MB / 360.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.0978, allocations: 4 kB / 360.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.781e-05/0.09785, allocations: 19.98 kB / 360.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.09786, allocations: 8 kB / 360.3 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008515/0.09871, allocations: 375.8 kB / 360.6 MB, free: 9.633 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.001932/0.1007, allocations: 1.378 MB / 362 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008725/0.1015, allocations: 460.6 kB / 362.5 MB, free: 7.688 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004269/0.102, allocations: 212.1 kB / 362.7 MB, free: 7.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.102, allocations: 4 kB / 362.7 MB, free: 7.477 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.102, allocations: 42.55 kB / 362.7 MB, free: 7.426 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.483e-06/0.1021, allocations: 0 / 362.7 MB, free: 7.426 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.001584/0.1036, allocations: 0.7896 MB / 363.5 MB, free: 6.586 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001706/0.1038, allocations: 452.9 kB / 363.9 MB, free: 6.039 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004572/0.1043, allocations: 470 kB / 364.4 MB, free: 5.566 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.1043, allocations: 41.69 kB / 364.4 MB, free: 5.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.1045, allocations: 248.3 kB / 364.7 MB, free: 5.273 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.125e-05/0.1046, allocations: 126.1 kB / 364.8 MB, free: 5.148 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.1047, allocations: 85.59 kB / 364.9 MB, free: 5.059 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1048, allocations: 362.7 kB / 365.2 MB, free: 4.695 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003862/0.1052, allocations: 159.8 kB / 365.4 MB, free: 4.539 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004902/0.1057, allocations: 306.4 kB / 365.7 MB, free: 4.188 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007785/0.1065, allocations: 378.7 kB / 366.1 MB, free: 3.805 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1065, allocations: 0 / 366.1 MB, free: 3.805 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009945/0.1075, allocations: 0.5075 MB / 366.6 MB, free: 3.277 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.1076, allocations: 29.73 kB / 366.6 MB, free: 3.242 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1076, allocations: 4 kB / 366.6 MB, free: 3.238 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001415/0.1077, allocations: 61.61 kB / 366.7 MB, free: 3.172 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004101/0.1081, allocations: 91.88 kB / 366.8 MB, free: 3.082 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.125/0.2332, allocations: 2.955 MB / 369.7 MB, free: 24.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005843/0.2338, allocations: 59.52 kB / 369.8 MB, free: 24.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.324e-05/0.2338, allocations: 12.58 kB / 369.8 MB, free: 24.76 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.0002116/0.2341, allocations: 173.1 kB / 370 MB, free: 24.64 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.519e-05/0.2342, allocations: 59.7 kB / 370 MB, free: 24.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.2343, allocations: 56.22 kB / 370.1 MB, free: 24.63 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.2343, allocations: 4.422 kB / 370.1 MB, free: 24.63 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2343, allocations: 0 / 370.1 MB, free: 24.63 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000986/0.2353, allocations: 0.7588 MB / 370.8 MB, free: 24.1 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/0.2371, allocations: 1.092 MB / 371.9 MB, free: 23.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.2371, allocations: 0 / 371.9 MB, free: 23.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004679/0.2376, allocations: 101.7 kB / 372 MB, free: 23.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.2376, allocations: 1.094 kB / 372 MB, free: 23.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.2376, allocations: 10.52 kB / 372 MB, free: 23.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2376, allocations: 1.484 kB / 372 MB, free: 23.76 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2376, allocations: 0.9688 kB / 372 MB, free: 23.76 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.239, allocations: 0.7117 MB / 372.7 MB, free: 23.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.2391, allocations: 172.5 kB / 372.9 MB, free: 23.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.733e-05/0.2392, allocations: 16.06 kB / 372.9 MB, free: 23.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003755/0.2396, allocations: 34.25 kB / 373 MB, free: 23.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.68e-05/0.2397, allocations: 27.28 kB / 373 MB, free: 23.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.2397, allocations: 12.03 kB / 373 MB, free: 23.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003855/0.2401, allocations: 338.8 kB / 373.3 MB, free: 23.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.2401, allocations: 0 / 373.3 MB, free: 23.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004547/0.2406, allocations: 143.9 kB / 373.5 MB, free: 23.39 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.001498/0.2421, allocations: 1.274 MB / 374.7 MB, free: 22.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001199/0.2433, allocations: 0.6997 MB / 375.4 MB, free: 22.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2433, allocations: 1.156 kB / 375.4 MB, free: 22.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004288/0.2437, allocations: 195.2 kB / 375.6 MB, free: 22.06 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006539/0.2444, allocations: 142.6 kB / 375.8 MB, free: 22.03 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005811/0.2502, allocations: 4.89 MB / 380.7 MB, free: 19.29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.2505, allocations: 0.8376 MB / 381.5 MB, free: 18.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002827/0.2508, allocations: 62.86 kB / 381.6 MB, free: 18.56 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/0.251, allocations: 188 kB / 381.7 MB, free: 18.43 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.251, allocations: 1.125 kB / 381.7 MB, free: 18.43 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.923/4.174, allocations: 13.86 MB / 395.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/15.95, allocations: 6.375 kB / 395.6 MB, free: 11.44 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