Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009529/0.0009528, allocations: 174.6 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.26/1.26, allocations: 205.4 MB / 222.9 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007618/0.0007619, allocations: 94.34 kB / 271.2 MB, free: 8.23 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.0003443, allocations: 11.98 kB / 327.6 MB, free: 15.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2346, allocations: 47.58 MB / 375.2 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003223/0.2379, allocations: 3.231 MB / 378.4 MB, free: 42.87 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.2392, allocations: 0.9294 MB / 379.4 MB, free: 42.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001902/0.2394, allocations: 6 kB / 379.4 MB, free: 42.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.2396, allocations: 83.92 kB / 379.4 MB, free: 42.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003166/0.2399, allocations: 173.9 kB / 379.6 MB, free: 41.87 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.2401, allocations: 96.36 kB / 379.7 MB, free: 41.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005678/0.2407, allocations: 0.6582 MB / 380.4 MB, free: 41.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002744/0.241, allocations: 187.4 kB / 380.5 MB, free: 41.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.2412, allocations: 225.5 kB / 380.8 MB, free: 41.17 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.2415, allocations: 279.9 kB / 381 MB, free: 40.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.815e-05/0.2416, allocations: 35.59 kB / 381.1 MB, free: 40.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.502e-05/0.2417, allocations: 36.53 kB / 381.1 MB, free: 40.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.611e-05/0.2418, allocations: 103.4 kB / 381.2 MB, free: 40.9 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002476/0.242, allocations: 302.7 kB / 381.5 MB, free: 40.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003921/0.2424, allocations: 0.5245 MB / 382 MB, free: 40.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.2424, allocations: 0 / 382 MB, free: 40.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2424, allocations: 0 / 382 MB, free: 40.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.2425, allocations: 0 / 382 MB, free: 40.3 MB / 298.7 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.001297/0.2438, allocations: 0.8325 MB / 382.9 MB, free: 39.6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.2438, allocations: 8.438 kB / 382.9 MB, free: 39.6 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001191/0.2439, allocations: 81.78 kB / 382.9 MB, free: 39.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.2441, allocations: 67.97 kB / 383 MB, free: 39.49 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005741/0.2447, allocations: 454.6 kB / 383.5 MB, free: 39.1 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001952/0.2449, allocations: 83.45 kB / 383.5 MB, free: 39.05 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.056e-05/0.2449, allocations: 43.92 kB / 383.6 MB, free: 39.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000843/0.2458, allocations: 0.5304 MB / 384.1 MB, free: 38.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.2458, allocations: 1.312 kB / 384.1 MB, free: 38.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.721e-05/0.2458, allocations: 16.16 kB / 384.1 MB, free: 38.63 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.2459, allocations: 9.781 kB / 384.1 MB, free: 38.63 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009259/0.2468, allocations: 400.7 kB / 384.5 MB, free: 38.45 MB / 298.7 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.001905/0.2487, allocations: 1.371 MB / 385.9 MB, free: 37.33 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009024/0.2496, allocations: 496.1 kB / 386.4 MB, free: 37.03 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004423/0.2501, allocations: 215.3 kB / 386.6 MB, free: 36.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.944e-05/0.2501, allocations: 12.33 kB / 386.6 MB, free: 36.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.2502, allocations: 38.94 kB / 386.6 MB, free: 36.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=37): time 2.255e-06/0.2502, allocations: 0 / 386.6 MB, free: 36.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=37): time 0.001559/0.2517, allocations: 0.805 MB / 387.5 MB, free: 36.05 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.386e-05/0.2518, allocations: 456.9 kB / 387.9 MB, free: 35.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003813/0.2522, allocations: 474 kB / 388.4 MB, free: 35.03 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.2523, allocations: 37.7 kB / 388.4 MB, free: 34.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.2524, allocations: 248.4 kB / 388.6 MB, free: 34.74 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.123e-05/0.2525, allocations: 122.1 kB / 388.8 MB, free: 34.62 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.902e-05/0.2525, allocations: 8 kB / 388.8 MB, free: 34.61 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.943e-05/0.2526, allocations: 366.8 kB / 389.1 MB, free: 34.24 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003756/0.253, allocations: 171.8 kB / 389.3 MB, free: 34.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004399/0.2534, allocations: 306.2 kB / 389.6 MB, free: 33.72 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007535/0.2542, allocations: 399 kB / 390 MB, free: 33.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2542, allocations: 0 / 390 MB, free: 33.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009448/0.2551, allocations: 0.5387 MB / 390.5 MB, free: 32.76 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.2552, allocations: 30.64 kB / 390.6 MB, free: 32.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.2552, allocations: 8 kB / 390.6 MB, free: 32.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001511/0.2553, allocations: 49.62 kB / 390.6 MB, free: 32.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003828/0.2557, allocations: 107.8 kB / 390.7 MB, free: 32.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.2574, allocations: 2.732 MB / 393.4 MB, free: 29.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004606/0.2578, allocations: 75.78 kB / 393.5 MB, free: 29.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.2579, allocations: 11.94 kB / 393.5 MB, free: 29.47 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001832/0.2581, allocations: 182.6 kB / 393.7 MB, free: 29.29 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.02e-05/0.2581, allocations: 55.34 kB / 393.8 MB, free: 29.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.449e-05/0.2582, allocations: 56.94 kB / 393.8 MB, free: 29.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2582, allocations: 4 kB / 393.8 MB, free: 29.17 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.2582, allocations: 0 / 393.8 MB, free: 29.17 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008604/0.2591, allocations: 0.779 MB / 394.6 MB, free: 28.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.2605, allocations: 1.105 MB / 395.7 MB, free: 27.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.2605, allocations: 0 / 395.7 MB, free: 27.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004166/0.261, allocations: 107.9 kB / 395.8 MB, free: 27.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.261, allocations: 4 kB / 395.8 MB, free: 27.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.261, allocations: 4 kB / 395.8 MB, free: 27.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.261, allocations: 7.938 kB / 395.8 MB, free: 27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.261, allocations: 4 kB / 395.8 MB, free: 27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.2622, allocations: 0.7332 MB / 396.6 MB, free: 26.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.2624, allocations: 168.5 kB / 396.7 MB, free: 26.06 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.049e-05/0.2625, allocations: 12 kB / 396.7 MB, free: 26.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003986/0.2629, allocations: 47.91 kB / 396.8 MB, free: 26 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.494e-05/0.263, allocations: 27.95 kB / 396.8 MB, free: 25.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.263, allocations: 8 kB / 396.8 MB, free: 25.97 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002712/0.2633, allocations: 334.9 kB / 397.2 MB, free: 25.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2633, allocations: 0 / 397.2 MB, free: 25.64 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000394/0.2637, allocations: 143.8 kB / 397.3 MB, free: 25.5 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001487/0.2652, allocations: 1.29 MB / 398.6 MB, free: 24.19 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.2663, allocations: 0.6884 MB / 399.3 MB, free: 23.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2663, allocations: 3.938 kB / 399.3 MB, free: 23.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003937/0.2667, allocations: 199.8 kB / 399.5 MB, free: 23.26 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006915/0.2674, allocations: 142.7 kB / 399.6 MB, free: 23.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004204/0.2716, allocations: 3.177 MB / 402.8 MB, free: 19.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.2718, allocations: 0.8353 MB / 403.6 MB, free: 19.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.2721, allocations: 179.4 kB / 403.8 MB, free: 18.84 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.2721, allocations: 4 kB / 403.8 MB, free: 18.84 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.244/3.516, allocations: 10.03 MB / 413.8 MB, free: 8.793 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches