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.0007608/0.0007608, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008333/0.0008333, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8356/0.8356, allocations: 173.3 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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 1.503e-06/1.503e-06, allocations: 0 / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143e-05/1.294e-05, allocations: 2.281 kB / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003063/0.003076, allocations: 3.424 MB / 321.8 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.004123, allocations: 0.9462 MB / 322.8 MB, free: 1.973 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.004269, allocations: 11.94 kB / 322.8 MB, free: 1.961 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002483/0.004517, allocations: 122.8 kB / 322.9 MB, free: 1.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.00479, allocations: 218.1 kB / 323.1 MB, free: 1.625 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.004982, allocations: 135.7 kB / 323.3 MB, free: 1.492 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005023/0.005484, allocations: 0.7351 MB / 324 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.005674, allocations: 139.1 kB / 324.1 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002795/0.005953, allocations: 407.2 kB / 324.5 MB, free: 224 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.006155, allocations: 223.4 kB / 324.8 MB, free: 0 / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.769e-05/0.006223, allocations: 60.05 kB / 324.8 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.471e-05/0.006277, allocations: 60 kB / 324.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.312e-05/0.00635, allocations: 135.5 kB / 325 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.006496, allocations: 227.4 kB / 325.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005332/0.007029, allocations: 0.7399 MB / 326 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.007032, allocations: 0 / 326 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.007033, allocations: 0 / 326 MB, free: 14.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.007044, allocations: 0 / 326 MB, free: 14.79 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.001045/0.008089, allocations: 0.8491 MB / 326.8 MB, free: 13.9 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.008129, allocations: 8.922 kB / 326.8 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/0.008232, allocations: 87.66 kB / 326.9 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.177e-05/0.008314, allocations: 76.56 kB / 327 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004798/0.008793, allocations: 388.5 kB / 327.4 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-05/0.008877, allocations: 110.7 kB / 327.5 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.852e-05/0.008915, allocations: 32.38 kB / 327.5 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000635/0.00955, allocations: 0.8908 MB / 328.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.009562, allocations: 4.188 kB / 328.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.009592, allocations: 19.94 kB / 328.4 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.009599, allocations: 8 kB / 328.4 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004981/0.0101, allocations: 355.7 kB / 328.8 MB, free: 11.74 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.00131/0.01141, allocations: 1.067 MB / 329.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000504/0.01191, allocations: 354.9 kB / 330.2 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.01214, allocations: 176.8 kB / 330.4 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.01217, allocations: 4 kB / 330.4 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.01219, allocations: 46.95 kB / 330.4 MB, free: 10.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=37): time 1.533e-06/0.01219, allocations: 0 / 330.4 MB, free: 10.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=37): time 0.0009099/0.0131, allocations: 0.598 MB / 331 MB, free: 9.414 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.01322, allocations: 445 kB / 331.4 MB, free: 8.875 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000342/0.01357, allocations: 478 kB / 331.9 MB, free: 8.395 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.01359, allocations: 33.7 kB / 331.9 MB, free: 8.355 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.01371, allocations: 252.6 kB / 332.2 MB, free: 8.105 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.709e-05/0.01378, allocations: 130.9 kB / 332.3 MB, free: 7.977 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.259e-05/0.01387, allocations: 81.69 kB / 332.4 MB, free: 7.891 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.01398, allocations: 362.8 kB / 332.7 MB, free: 7.527 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.0142, allocations: 177.5 kB / 332.9 MB, free: 7.348 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003838/0.01458, allocations: 0.6852 MB / 333.6 MB, free: 6.512 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000437/0.01502, allocations: 354.6 kB / 334 MB, free: 6.152 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.01502, allocations: 0 / 334 MB, free: 6.152 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005774/0.0156, allocations: 0.5135 MB / 334.5 MB, free: 5.613 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.01563, allocations: 33.69 kB / 334.5 MB, free: 5.574 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.01563, allocations: 4 kB / 334.5 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001159/0.01575, allocations: 49.64 kB / 334.5 MB, free: 5.516 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.01596, allocations: 83.88 kB / 334.6 MB, free: 5.434 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/0.01741, allocations: 2.75 MB / 337.4 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.01761, allocations: 55.75 kB / 337.4 MB, free: 2.398 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.01763, allocations: 15.98 kB / 337.5 MB, free: 2.383 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 (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.0001368/0.01777, allocations: 169.8 kB / 337.6 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.231e-05/0.01782, allocations: 59.73 kB / 337.7 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.654e-05/0.01788, allocations: 52.94 kB / 337.7 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.01788, allocations: 7.984 kB / 337.7 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.01788, allocations: 3.938 kB / 337.7 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005596/0.01844, allocations: 0.7348 MB / 338.5 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009433/0.01939, allocations: 0.9428 MB / 339.4 MB, free: 244 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.01939, allocations: 0 / 339.4 MB, free: 244 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.0196, allocations: 91.81 kB / 339.5 MB, free: 152 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.01961, allocations: 0 / 339.5 MB, free: 152 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.01962, allocations: 16 kB / 339.5 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.01962, allocations: 0 / 339.5 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01962, allocations: 0 / 339.5 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007364/0.02036, allocations: 0.6685 MB / 340.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.02048, allocations: 107.5 kB / 340.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.02052, allocations: 12 kB / 340.3 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.0207, allocations: 27.97 kB / 340.3 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.02074, allocations: 23.95 kB / 340.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.02076, allocations: 8 kB / 340.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002419/0.021, allocations: 338.9 kB / 340.7 MB, free: 14.94 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.021, allocations: 0 / 340.7 MB, free: 14.94 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002673/0.02127, allocations: 143.8 kB / 340.8 MB, free: 14.8 MB / 314.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 (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.0009288/0.02219, allocations: 1.235 MB / 342.1 MB, free: 13.54 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000716/0.02291, allocations: 0.6658 MB / 342.7 MB, free: 12.83 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.02291, allocations: 3.938 kB / 342.7 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.02313, allocations: 167.8 kB / 342.9 MB, free: 12.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000424/0.02356, allocations: 160.8 kB / 343.1 MB, free: 12.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004371/0.02793, allocations: 4.737 MB / 347.8 MB, free: 7.633 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001494/0.02808, allocations: 245.9 kB / 348 MB, free: 7.367 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001593/0.02824, allocations: 68.52 kB / 348.1 MB, free: 7.301 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.02842, allocations: 180.4 kB / 348.3 MB, free: 7.125 MB / 314.7 MB Notification: Performance of SimCode: time 7.71e-07/0.02842, allocations: 0 / 348.3 MB, free: 7.125 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.05634, allocations: 15.81 MB / 364.1 MB, free: 7.621 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.782/7.838, allocations: 2.922 kB / 364.1 MB, free: 7.621 MB / 330.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins/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: 9.434028853662312]