Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002072/0.002072, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 47.92 kB / 373 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1084, allocations: 53.33 MB / 426.3 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005095/0.1135, allocations: 3.78 MB / 430.1 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2123/0.3258, allocations: 1.024 MB / 431.1 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005014/0.3263, allocations: 8.812 kB / 431.1 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003832/0.3267, allocations: 116.9 kB / 431.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004634/0.3272, allocations: 208.7 kB / 431.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.3275, allocations: 136.3 kB / 431.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007609/0.3282, allocations: 0.7016 MB / 432.3 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002423/0.3285, allocations: 150.1 kB / 432.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002829/0.3288, allocations: 270.5 kB / 432.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002868/0.329, allocations: 305.8 kB / 433 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.444e-05/0.3291, allocations: 65.89 kB / 433 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.061e-05/0.3292, allocations: 61.41 kB / 433.1 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.144e-05/0.3293, allocations: 132.6 kB / 433.2 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000234/0.3295, allocations: 318.4 kB / 433.5 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006517/0.3302, allocations: 0.7216 MB / 434.3 MB, free: 7.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3302, allocations: 3.375 kB / 434.3 MB, free: 7.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3302, allocations: 0 / 434.3 MB, free: 7.109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.3302, allocations: 1.156 kB / 434.3 MB, free: 7.109 MB / 350.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.001489/0.3317, allocations: 0.9252 MB / 435.2 MB, free: 6.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3317, allocations: 10.95 kB / 435.2 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001124/0.3318, allocations: 87.89 kB / 435.3 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.332, allocations: 69.91 kB / 435.4 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006702/0.3326, allocations: 446.1 kB / 435.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.106e-05/0.3327, allocations: 58.78 kB / 435.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.889e-05/0.3328, allocations: 35.81 kB / 435.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008529/0.3336, allocations: 0.5118 MB / 436.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.3337, allocations: 0 / 436.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.293e-05/0.3337, allocations: 17.38 kB / 436.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.3337, allocations: 16.59 kB / 436.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008592/0.3346, allocations: 354.6 kB / 436.8 MB, free: 5.926 MB / 350.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.002032/0.3366, allocations: 1.365 MB / 438.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008401/0.3374, allocations: 435 kB / 438.6 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003916/0.3378, allocations: 171.6 kB / 438.7 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.779e-05/0.3379, allocations: 6.672 kB / 438.7 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.3379, allocations: 42.5 kB / 438.8 MB, free: 4.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.613e-06/0.3379, allocations: 0 / 438.8 MB, free: 4.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001624/0.3395, allocations: 0.7432 MB / 439.5 MB, free: 4.441 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.117e-05/0.3396, allocations: 449.2 kB / 440 MB, free: 3.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005164/0.3401, allocations: 480.8 kB / 440.4 MB, free: 3.672 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.122e-05/0.3402, allocations: 36.98 kB / 440.5 MB, free: 3.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.3403, allocations: 251.7 kB / 440.7 MB, free: 3.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.417e-05/0.3404, allocations: 133.4 kB / 440.8 MB, free: 3.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.3405, allocations: 82.34 kB / 440.9 MB, free: 3.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.205e-05/0.3406, allocations: 361.5 kB / 441.3 MB, free: 2.945 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003829/0.341, allocations: 144.5 kB / 441.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004675/0.3415, allocations: 291.2 kB / 441.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007544/0.3422, allocations: 349.6 kB / 442 MB, free: 2.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3422, allocations: 1.062 kB / 442 MB, free: 2.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001142/0.3434, allocations: 496.4 kB / 442.5 MB, free: 2.289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/0.3434, allocations: 32.31 kB / 442.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.3434, allocations: 2.75 kB / 442.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001808/0.3436, allocations: 59.83 kB / 442.6 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004303/0.344, allocations: 87.75 kB / 442.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/0.3462, allocations: 2.954 MB / 445.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005839/0.3468, allocations: 57.78 kB / 445.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/0.3469, allocations: 12.69 kB / 445.7 MB, free: 15.27 MB / 366.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.0002721/0.3471, allocations: 175 kB / 445.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.3472, allocations: 55.02 kB / 446 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.3474, allocations: 65.72 kB / 446 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.3474, allocations: 3.625 kB / 446 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.3474, allocations: 0.8906 kB / 446 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001115/0.3485, allocations: 0.74 MB / 446.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/0.3505, allocations: 1.053 MB / 447.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3505, allocations: 0.6094 kB / 447.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004616/0.3509, allocations: 92.2 kB / 447.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.3509, allocations: 2.125 kB / 447.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.351, allocations: 6.359 kB / 447.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.351, allocations: 8.625 kB / 447.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.351, allocations: 0 / 447.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.3524, allocations: 0.6757 MB / 448.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002702/0.3527, allocations: 173.8 kB / 448.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.673e-05/0.3527, allocations: 12.02 kB / 448.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003968/0.3531, allocations: 26.91 kB / 448.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-05/0.3532, allocations: 23.95 kB / 448.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/0.3533, allocations: 15.39 kB / 448.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004653/0.3537, allocations: 338.5 kB / 449.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3537, allocations: 0 / 449.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005465/0.3543, allocations: 144.3 kB / 449.3 MB, free: 13.07 MB / 366.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.001747/0.356, allocations: 1.231 MB / 450.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001355/0.3574, allocations: 0.6433 MB / 451.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3574, allocations: 1.156 kB / 451.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004197/0.3578, allocations: 172.3 kB / 451.4 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007461/0.3586, allocations: 145.5 kB / 451.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007379/0.3659, allocations: 4.663 MB / 456.2 MB, free: 9.113 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004944/0.3664, allocations: 0.8394 MB / 457 MB, free: 8.402 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003141/0.3667, allocations: 68.45 kB / 457.1 MB, free: 8.387 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002838/0.367, allocations: 181.3 kB / 457.3 MB, free: 8.258 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.367, allocations: 1.688 kB / 457.3 MB, free: 8.258 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05051/0.4175, allocations: 14.1 MB / 471.4 MB, free: 1.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.68, allocations: 7.797 kB / 471.4 MB, free: 1.832 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable heatCapacitor.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv failed! Error: Could not read variable pipe.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv. Warning: Get data of variable pipe.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.228178235003725]