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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 112 kB / 20.43 MB, free: 1.309 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 189.3 kB / 23.72 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 47.92 kB / 370.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2238, allocations: 52.19 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.006044/0.2298, allocations: 3.781 MB / 426.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.2317, allocations: 0.9969 MB / 427.4 MB, free: 9.789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000317/0.232, allocations: 11.94 kB / 427.4 MB, free: 9.777 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003903/0.2324, allocations: 107.1 kB / 427.5 MB, free: 9.672 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000534/0.233, allocations: 214.3 kB / 427.7 MB, free: 9.461 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000364/0.2333, allocations: 135.8 kB / 427.9 MB, free: 9.328 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009649/0.2343, allocations: 0.7062 MB / 428.6 MB, free: 8.621 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000283/0.2346, allocations: 143 kB / 428.7 MB, free: 8.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004245/0.235, allocations: 275 kB / 429 MB, free: 8.211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004577/0.2354, allocations: 310.6 kB / 429.3 MB, free: 7.906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.2356, allocations: 60 kB / 429.3 MB, free: 7.848 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.2357, allocations: 60 kB / 429.4 MB, free: 7.789 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.2358, allocations: 127.6 kB / 429.5 MB, free: 7.664 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003567/0.2362, allocations: 322.5 kB / 429.8 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008299/0.237, allocations: 0.7242 MB / 430.6 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.237, allocations: 3.938 kB / 430.6 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.237, allocations: 0 / 430.6 MB, free: 6.621 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.794e-05/0.237, allocations: 0 / 430.6 MB, free: 6.621 MB / 334.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.001731/0.2388, allocations: 0.8608 MB / 431.4 MB, free: 5.723 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.2388, allocations: 12.03 kB / 431.4 MB, free: 5.711 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001327/0.2389, allocations: 87.64 kB / 431.5 MB, free: 5.613 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.2391, allocations: 72.52 kB / 431.6 MB, free: 5.543 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000787/0.2399, allocations: 381.3 kB / 432 MB, free: 5.145 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/0.24, allocations: 114.7 kB / 432.1 MB, free: 5.016 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.007e-05/0.2401, allocations: 36.38 kB / 432.1 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009248/0.241, allocations: 0.5058 MB / 432.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.241, allocations: 3.984 kB / 432.6 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.359e-05/0.241, allocations: 20 kB / 432.6 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.2411, allocations: 8 kB / 432.7 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008534/0.2419, allocations: 355.8 kB / 433 MB, free: 4.039 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.002369/0.2443, allocations: 1.313 MB / 434.3 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008667/0.2451, allocations: 355.1 kB / 434.7 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004072/0.2456, allocations: 176.8 kB / 434.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.997e-05/0.2456, allocations: 7.984 kB / 434.8 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.2456, allocations: 46.55 kB / 434.9 MB, free: 2.043 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 2.134e-06/0.2456, allocations: 0 / 434.9 MB, free: 2.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=37): time 0.00159/0.2472, allocations: 0.5983 MB / 435.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000229/0.2475, allocations: 444.9 kB / 435.9 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005911/0.248, allocations: 482 kB / 436.4 MB, free: 420 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.7e-05/0.2481, allocations: 37.7 kB / 436.4 MB, free: 376 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.2483, allocations: 244.7 kB / 436.7 MB, free: 128 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.2484, allocations: 134.9 kB / 436.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.2486, allocations: 81.59 kB / 436.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.2487, allocations: 358.8 kB / 437.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/0.2491, allocations: 143.9 kB / 437.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005113/0.2496, allocations: 298.3 kB / 437.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007554/0.2504, allocations: 339.1 kB / 438 MB, free: 14.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2504, allocations: 0 / 438 MB, free: 14.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001064/0.2514, allocations: 0.4923 MB / 438.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4e-05/0.2515, allocations: 33.7 kB / 438.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.2515, allocations: 7.922 kB / 438.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001703/0.2517, allocations: 53.67 kB / 438.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004248/0.2521, allocations: 91.88 kB / 438.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002593/0.2547, allocations: 2.759 MB / 441.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004676/0.2551, allocations: 59.72 kB / 441.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.2552, allocations: 8 kB / 441.5 MB, free: 10.96 MB / 350.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.0002512/0.2554, allocations: 183.8 kB / 441.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.2555, allocations: 59.62 kB / 441.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.2557, allocations: 60.86 kB / 441.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.2557, allocations: 4 kB / 441.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2557, allocations: 0 / 441.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001015/0.2567, allocations: 0.7386 MB / 442.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.2584, allocations: 1.012 MB / 443.5 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2585, allocations: 0 / 443.5 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004447/0.2589, allocations: 91.88 kB / 443.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.2589, allocations: 4 kB / 443.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.2589, allocations: 8 kB / 443.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.2589, allocations: 0 / 443.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2589, allocations: 0 / 443.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.2603, allocations: 0.6882 MB / 444.3 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002252/0.2605, allocations: 103.5 kB / 444.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.813e-05/0.2606, allocations: 8 kB / 444.4 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003657/0.261, allocations: 27.97 kB / 444.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.902e-05/0.261, allocations: 23.95 kB / 444.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.2611, allocations: 8 kB / 444.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004231/0.2615, allocations: 350.9 kB / 444.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2615, allocations: 0 / 444.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004595/0.2619, allocations: 139.9 kB / 445 MB, free: 7.277 MB / 350.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.001692/0.2636, allocations: 1.224 MB / 446.2 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001288/0.2649, allocations: 0.6492 MB / 446.8 MB, free: 5.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.2649, allocations: 0 / 446.8 MB, free: 5.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003982/0.2653, allocations: 167.8 kB / 447 MB, free: 5.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007132/0.266, allocations: 153.2 kB / 447.2 MB, free: 5.027 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007406/0.2734, allocations: 4.676 MB / 451.8 MB, free: 252 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005272/0.274, allocations: 0.8353 MB / 452.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002854/0.2743, allocations: 72.52 kB / 452.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/0.2745, allocations: 179.4 kB / 452.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.2745, allocations: 0 / 452.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05197/0.3265, allocations: 14.31 MB / 467.2 MB, free: 1.113 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.08, allocations: 16 kB / 467.2 MB, free: 1.102 MB / 366.1 MB " [Timeout remaining time 647] (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 --stepSize=0.001 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.436686262954026]