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.001623/0.001623, allocations: 114.1 kB / 17.07 MB, free: 6.016 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.001572/0.001572, allocations: 189.4 kB / 18 MB, free: 5.098 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.416/1.416, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 47.92 kB / 350.8 MB, free: 3.773 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2498, allocations: 49.43 MB / 400.2 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005207/0.2551, allocations: 3.751 MB / 404 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.2571, allocations: 0.989 MB / 405 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002597/0.2574, allocations: 4 kB / 405 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003765/0.2578, allocations: 119 kB / 405.1 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004584/0.2583, allocations: 206.3 kB / 405.3 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.2586, allocations: 131.8 kB / 405.4 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000824/0.2594, allocations: 0.7067 MB / 406.1 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003487/0.2598, allocations: 206.8 kB / 406.3 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000333/0.2601, allocations: 263 kB / 406.6 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003764/0.2605, allocations: 306.7 kB / 406.9 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.2606, allocations: 60 kB / 406.9 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.2608, allocations: 60 kB / 407 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.2609, allocations: 135.5 kB / 407.1 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003416/0.2612, allocations: 322.5 kB / 407.4 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009332/0.2622, allocations: 0.715 MB / 408.2 MB, free: 0.875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2622, allocations: 0 / 408.2 MB, free: 0.875 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2622, allocations: 0 / 408.2 MB, free: 0.875 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.2622, allocations: 3.938 kB / 408.2 MB, free: 0.8711 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.00167/0.2639, allocations: 0.9431 MB / 409.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.264, allocations: 12.03 kB / 409.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001256/0.2641, allocations: 83.7 kB / 409.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.2642, allocations: 72.52 kB / 409.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007564/0.265, allocations: 439.1 kB / 409.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.2651, allocations: 59.27 kB / 409.8 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.744e-05/0.2652, allocations: 36.38 kB / 409.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009228/0.2661, allocations: 0.5175 MB / 410.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.2661, allocations: 4 kB / 410.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.293e-05/0.2662, allocations: 16 kB / 410.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.2662, allocations: 8 kB / 410.3 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008827/0.2671, allocations: 359.7 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.002449/0.2696, allocations: 1.355 MB / 412 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009659/0.2705, allocations: 459.9 kB / 412.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004482/0.271, allocations: 197.5 kB / 412.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.105e-05/0.2711, allocations: 7.984 kB / 412.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.2711, allocations: 39.12 kB / 412.7 MB, free: 12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 2.785e-06/0.2711, allocations: 0 / 412.7 MB, free: 12 MB / 334.1 MB Notification: Performance of matching and sorting (n=37): time 0.001803/0.2729, allocations: 0.7507 MB / 413.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002697/0.2732, allocations: 449 kB / 413.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005911/0.2738, allocations: 482 kB / 414.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.651e-05/0.2739, allocations: 33.7 kB / 414.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.2741, allocations: 252.6 kB / 414.7 MB, free: 9.883 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.2742, allocations: 142.8 kB / 414.8 MB, free: 9.742 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.2744, allocations: 77.69 kB / 414.9 MB, free: 9.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002376/0.2746, allocations: 358.8 kB / 415.2 MB, free: 9.301 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003949/0.275, allocations: 139.9 kB / 415.4 MB, free: 9.164 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006184/0.2756, allocations: 302.3 kB / 415.7 MB, free: 8.816 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008056/0.2764, allocations: 339.1 kB / 416 MB, free: 8.473 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2765, allocations: 0 / 416 MB, free: 8.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001138/0.2776, allocations: 0.496 MB / 416.5 MB, free: 7.957 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.413e-05/0.2777, allocations: 29.7 kB / 416.5 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.2777, allocations: 0 / 416.5 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001825/0.2779, allocations: 61.61 kB / 416.6 MB, free: 7.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004203/0.2783, allocations: 83.94 kB / 416.7 MB, free: 7.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002757/0.2811, allocations: 2.961 MB / 419.6 MB, free: 4.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005141/0.2816, allocations: 55.75 kB / 419.7 MB, free: 4.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.2817, allocations: 15.94 kB / 419.7 MB, free: 4.465 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.0002556/0.2819, allocations: 173.7 kB / 419.9 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.282, allocations: 59.67 kB / 419.9 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.2821, allocations: 64.8 kB / 420 MB, free: 4.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2822, allocations: 4 kB / 420 MB, free: 4.156 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2822, allocations: 0 / 420 MB, free: 4.156 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001141/0.2833, allocations: 0.7424 MB / 420.7 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/0.2852, allocations: 1.054 MB / 421.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2852, allocations: 0 / 421.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004643/0.2857, allocations: 87.88 kB / 421.9 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.2857, allocations: 4 kB / 421.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.2857, allocations: 8 kB / 421.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2857, allocations: 0 / 421.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2857, allocations: 0 / 421.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.2871, allocations: 0.6837 MB / 422.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002975/0.2874, allocations: 172.7 kB / 422.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.866e-05/0.2875, allocations: 12 kB / 422.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/0.2879, allocations: 27.97 kB / 422.8 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.224e-05/0.288, allocations: 24.2 kB / 422.8 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.288, allocations: 15.98 kB / 422.8 MB, free: 1.121 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004515/0.2885, allocations: 338.9 kB / 423.1 MB, free: 0.793 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.2885, allocations: 0 / 423.1 MB, free: 0.793 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005202/0.289, allocations: 143.8 kB / 423.3 MB, free: 0.6523 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.001723/0.2907, allocations: 1.24 MB / 424.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001301/0.292, allocations: 0.6449 MB / 425.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.2921, allocations: 4 kB / 425.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004262/0.2925, allocations: 179.8 kB / 425.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007185/0.2932, allocations: 141.8 kB / 425.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007648/0.3009, allocations: 4.683 MB / 430.2 MB, free: 9.602 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005951/0.3015, allocations: 0.8353 MB / 431 MB, free: 8.738 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003211/0.3018, allocations: 68.53 kB / 431.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/0.3021, allocations: 183.4 kB / 431.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3021, allocations: 0 / 431.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04513/0.3473, allocations: 13.99 MB / 445.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.51, allocations: 3.5 kB / 445.2 MB, free: 10.79 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