Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001407/0.001407, allocations: 112.5 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001521/0.001521, allocations: 212.1 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 230.5 MB / 257.4 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 59.89 kB / 377.8 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.22, allocations: 53.42 MB / 431.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004987/0.225, allocations: 3.802 MB / 435 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.2267, allocations: 1.032 MB / 436 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.2269, allocations: 15.94 kB / 436 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003175/0.2272, allocations: 103.1 kB / 436.1 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004024/0.2276, allocations: 210.3 kB / 436.3 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.2279, allocations: 143.7 kB / 436.5 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000764/0.2287, allocations: 0.7076 MB / 437.2 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002549/0.2289, allocations: 143 kB / 437.3 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003009/0.2292, allocations: 275 kB / 437.6 MB, free: 244 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003918/0.2296, allocations: 310.6 kB / 437.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.457e-05/0.2297, allocations: 60 kB / 438 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.886e-05/0.2298, allocations: 60 kB / 438 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.2299, allocations: 127.6 kB / 438.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003107/0.2302, allocations: 326.5 kB / 438.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000791/0.231, allocations: 0.7319 MB / 439.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.231, allocations: 0 / 439.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.231, allocations: 0 / 439.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.231, allocations: 0 / 439.2 MB, free: 14.64 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.001632/0.2326, allocations: 0.8491 MB / 440 MB, free: 13.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.2327, allocations: 12.03 kB / 440 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000124/0.2328, allocations: 75.72 kB / 440.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.2329, allocations: 72.52 kB / 440.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000754/0.2337, allocations: 389.3 kB / 440.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.2338, allocations: 114.7 kB / 440.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.854e-05/0.2339, allocations: 36.38 kB / 440.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008529/0.2347, allocations: 0.5098 MB / 441.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.2347, allocations: 0 / 441.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.171e-05/0.2348, allocations: 16 kB / 441.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.2348, allocations: 12 kB / 441.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008383/0.2356, allocations: 355.8 kB / 441.6 MB, free: 12.07 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.002141/0.2378, allocations: 1.317 MB / 442.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008155/0.2386, allocations: 358.1 kB / 443.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000388/0.239, allocations: 176.8 kB / 443.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.82e-05/0.239, allocations: 8 kB / 443.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.2391, allocations: 46.31 kB / 443.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.673e-06/0.2391, allocations: 0 / 443.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001517/0.2406, allocations: 0.5967 MB / 444.1 MB, free: 9.465 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002503/0.2408, allocations: 456.9 kB / 444.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005706/0.2414, allocations: 474 kB / 445 MB, free: 8.438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.2414, allocations: 33.7 kB / 445 MB, free: 8.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.2416, allocations: 244.7 kB / 445.3 MB, free: 8.156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.2418, allocations: 134.8 kB / 445.4 MB, free: 8.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.2419, allocations: 81.64 kB / 445.5 MB, free: 7.938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.2421, allocations: 362.8 kB / 445.8 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003715/0.2425, allocations: 151.8 kB / 446 MB, free: 7.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005108/0.243, allocations: 286.4 kB / 446.3 MB, free: 7.094 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007711/0.2437, allocations: 350.6 kB / 446.6 MB, free: 6.738 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2437, allocations: 4 kB / 446.6 MB, free: 6.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009957/0.2447, allocations: 496.1 kB / 447.1 MB, free: 6.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.2448, allocations: 33.73 kB / 447.1 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2448, allocations: 0 / 447.1 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001677/0.245, allocations: 57.62 kB / 447.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004069/0.2454, allocations: 87.88 kB / 447.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002632/0.248, allocations: 2.754 MB / 450 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004158/0.2485, allocations: 59.69 kB / 450.1 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.2485, allocations: 20 kB / 450.1 MB, free: 2.98 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.0002301/0.2487, allocations: 169.8 kB / 450.3 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.06e-05/0.2488, allocations: 55.67 kB / 450.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.2489, allocations: 60.88 kB / 450.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2489, allocations: 4 kB / 450.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2489, allocations: 0 / 450.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009862/0.2499, allocations: 0.7361 MB / 451.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.2516, allocations: 1.016 MB / 452.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.2516, allocations: 0 / 452.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004394/0.252, allocations: 95.86 kB / 452.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.2521, allocations: 4 kB / 452.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.2521, allocations: 4 kB / 452.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.2521, allocations: 0 / 452.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.2521, allocations: 4 kB / 452.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.2534, allocations: 0.6761 MB / 452.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002097/0.2536, allocations: 107.5 kB / 453 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.759e-05/0.2536, allocations: 12 kB / 453 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003541/0.254, allocations: 32.03 kB / 453.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.044e-05/0.2541, allocations: 23.95 kB / 453.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.2541, allocations: 8 kB / 453.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003896/0.2545, allocations: 338.9 kB / 453.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2545, allocations: 0 / 453.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004503/0.2549, allocations: 139.9 kB / 453.6 MB, free: 15.32 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.001644/0.2566, allocations: 1.24 MB / 454.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.2577, allocations: 0.6371 MB / 455.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2577, allocations: 0 / 455.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000387/0.2581, allocations: 171.8 kB / 455.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006489/0.2588, allocations: 146 kB / 455.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006832/0.2656, allocations: 4.68 MB / 460.4 MB, free: 8.289 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/0.2661, allocations: 0.8468 MB / 461.3 MB, free: 7.414 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002423/0.2663, allocations: 60.55 kB / 461.3 MB, free: 7.352 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/0.2666, allocations: 179.4 kB / 461.5 MB, free: 7.176 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2666, allocations: 4 kB / 461.5 MB, free: 7.172 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0512/0.3178, allocations: 14.32 MB / 475.8 MB, free: 9.098 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/12.99, allocations: 4 kB / 475.8 MB, free: 9.094 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/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_trunk_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.276422356022522]