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.0008487/0.0008487, allocations: 80.36 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008657/0.0008657, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8718/0.8718, allocations: 177 MB / 204.1 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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 1.392e-06/1.392e-06, allocations: 0 / 324.5 MB, free: 15.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.286e-05, allocations: 2.281 kB / 324.5 MB, free: 15.76 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003405/0.003428, allocations: 3.448 MB / 328 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.005024, allocations: 0.9852 MB / 328.9 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002351/0.005259, allocations: 11.88 kB / 329 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.005569, allocations: 107.1 kB / 329.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003635/0.005932, allocations: 214.2 kB / 329.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.006208, allocations: 139.7 kB / 329.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009366/0.007144, allocations: 0.7389 MB / 330.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000242/0.007386, allocations: 130.9 kB / 330.3 MB, free: 9.961 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004733/0.00786, allocations: 415.1 kB / 330.7 MB, free: 9.555 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.008104, allocations: 215.4 kB / 330.9 MB, free: 9.344 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.773e-05/0.008172, allocations: 60 kB / 330.9 MB, free: 9.285 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.156e-05/0.008233, allocations: 64 kB / 331 MB, free: 9.223 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.232e-05/0.008306, allocations: 131.5 kB / 331.1 MB, free: 9.094 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.008472, allocations: 235.4 kB / 331.4 MB, free: 8.863 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006114/0.009084, allocations: 0.7321 MB / 332.1 MB, free: 8.129 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.009088, allocations: 0 / 332.1 MB, free: 8.129 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.009089, allocations: 0 / 332.1 MB, free: 8.129 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.009102, allocations: 0 / 332.1 MB, free: 8.129 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.001191/0.01029, allocations: 0.8646 MB / 333 MB, free: 7.227 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.01034, allocations: 15.98 kB / 333 MB, free: 7.211 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001077/0.01045, allocations: 79.66 kB / 333.1 MB, free: 7.121 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.01056, allocations: 68.56 kB / 333.1 MB, free: 7.055 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006315/0.01119, allocations: 392.5 kB / 333.5 MB, free: 6.645 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.01129, allocations: 110.7 kB / 333.6 MB, free: 6.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.545e-05/0.01134, allocations: 36.33 kB / 333.6 MB, free: 6.484 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007083/0.01204, allocations: 0.8891 MB / 334.5 MB, free: 5.449 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.01206, allocations: 192 / 334.5 MB, free: 5.449 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.01209, allocations: 19.94 kB / 334.6 MB, free: 5.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.0121, allocations: 15.98 kB / 334.6 MB, free: 5.414 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005324/0.01263, allocations: 351.8 kB / 334.9 MB, free: 5.07 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.001553/0.01419, allocations: 1.071 MB / 336 MB, free: 3.945 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005779/0.01476, allocations: 356 kB / 336.3 MB, free: 3.586 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005028/0.01527, allocations: 176.7 kB / 336.5 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.0153, allocations: 12 kB / 336.5 MB, free: 3.398 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.01533, allocations: 42.55 kB / 336.6 MB, free: 3.348 MB / 298.7 MB Notification: Performance of pre-optimization done (n=37): time 2.304e-06/0.01533, allocations: 0 / 336.6 MB, free: 3.348 MB / 298.7 MB Notification: Performance of matching and sorting (n=37): time 0.0009893/0.01632, allocations: 0.584 MB / 337.1 MB, free: 2.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.01645, allocations: 452.9 kB / 337.6 MB, free: 2.203 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003906/0.01684, allocations: 482 kB / 338.1 MB, free: 1.723 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.01687, allocations: 33.7 kB / 338.1 MB, free: 1.684 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.017, allocations: 256.6 kB / 338.3 MB, free: 1.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.26e-05/0.01707, allocations: 130.8 kB / 338.5 MB, free: 1.301 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.294e-05/0.01717, allocations: 81.64 kB / 338.5 MB, free: 1.211 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.919e-05/0.01727, allocations: 358.8 kB / 338.9 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002384/0.01751, allocations: 169.6 kB / 339.1 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000419/0.01792, allocations: 0.6853 MB / 339.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004544/0.01838, allocations: 347 kB / 340.1 MB, free: 15.49 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.01838, allocations: 0 / 340.1 MB, free: 15.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006327/0.01901, allocations: 0.5174 MB / 340.6 MB, free: 14.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.72e-05/0.01905, allocations: 33.69 kB / 340.6 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.01906, allocations: 4 kB / 340.6 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001366/0.0192, allocations: 49.73 kB / 340.7 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.01943, allocations: 87.88 kB / 340.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001969/0.0214, allocations: 2.746 MB / 343.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002845/0.02169, allocations: 51.8 kB / 343.6 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.02171, allocations: 15.98 kB / 343.6 MB, free: 11.72 MB / 314.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.0001819/0.02189, allocations: 169.8 kB / 343.8 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.693e-05/0.02195, allocations: 55.67 kB / 343.8 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.49e-05/0.02201, allocations: 52.94 kB / 343.9 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.02202, allocations: 7.984 kB / 343.9 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.02202, allocations: 7.938 kB / 343.9 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005804/0.0226, allocations: 0.7361 MB / 344.6 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.02366, allocations: 0.9422 MB / 345.6 MB, free: 9.582 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.02366, allocations: 3.938 kB / 345.6 MB, free: 9.578 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/0.02391, allocations: 95.81 kB / 345.7 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.02391, allocations: 4 kB / 345.7 MB, free: 9.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.02392, allocations: 7.938 kB / 345.7 MB, free: 9.473 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.02393, allocations: 8 kB / 345.7 MB, free: 9.465 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.02393, allocations: 0 / 345.7 MB, free: 9.465 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007555/0.02469, allocations: 0.6725 MB / 346.3 MB, free: 8.773 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.02482, allocations: 95.48 kB / 346.4 MB, free: 8.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.02486, allocations: 8 kB / 346.4 MB, free: 8.672 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.02505, allocations: 36.03 kB / 346.5 MB, free: 8.637 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.644e-05/0.02511, allocations: 23.95 kB / 346.5 MB, free: 8.613 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.02512, allocations: 8 kB / 346.5 MB, free: 8.605 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002655/0.02539, allocations: 338.9 kB / 346.8 MB, free: 8.277 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-07/0.02539, allocations: 0 / 346.8 MB, free: 8.277 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003327/0.02572, allocations: 147.8 kB / 347 MB, free: 8.133 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.0009794/0.0267, allocations: 1.239 MB / 348.2 MB, free: 6.867 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007897/0.02749, allocations: 0.6585 MB / 348.9 MB, free: 6.164 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.02749, allocations: 0 / 348.9 MB, free: 6.164 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.02771, allocations: 171.6 kB / 349.1 MB, free: 5.996 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000466/0.02817, allocations: 149.8 kB / 349.2 MB, free: 5.852 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005135/0.03331, allocations: 4.742 MB / 353.9 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.03347, allocations: 238.2 kB / 354.2 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002388/0.03371, allocations: 68.53 kB / 354.2 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.0339, allocations: 184.4 kB / 354.4 MB, free: 480 kB / 314.7 MB Notification: Performance of SimCode: time 1.172e-06/0.0339, allocations: 0 / 354.4 MB, free: 480 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03119/0.06509, allocations: 15.83 MB / 370.3 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.049/8.114, allocations: 7.609 kB / 370.3 MB, free: 0.9219 MB / 330.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins/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: 9.757457802072167]