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.0007886/0.0007886, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.00075/0.00075, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8647/0.8647, allocations: 177.1 MB / 204.3 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] 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 2.114e-06/2.114e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.696e-05, allocations: 4.812 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.00441/0.004427, allocations: 3.447 MB / 328 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.005932, allocations: 0.9928 MB / 329 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/0.006116, allocations: 11.94 kB / 329 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002605/0.006376, allocations: 111 kB / 329.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003754/0.006751, allocations: 214.1 kB / 329.3 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.006988, allocations: 139.8 kB / 329.5 MB, free: 11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005934/0.007582, allocations: 0.7311 MB / 330.2 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.007779, allocations: 138.9 kB / 330.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003824/0.008161, allocations: 403.1 kB / 330.7 MB, free: 9.727 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002361/0.008398, allocations: 227.3 kB / 330.9 MB, free: 9.504 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.149e-05/0.008459, allocations: 60 kB / 331 MB, free: 9.445 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.464e-05/0.008514, allocations: 60 kB / 331.1 MB, free: 9.387 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.945e-05/0.008583, allocations: 131.5 kB / 331.2 MB, free: 9.258 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.008733, allocations: 231.5 kB / 331.4 MB, free: 9.031 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004892/0.009222, allocations: 0.7476 MB / 332.2 MB, free: 8.281 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.009225, allocations: 0 / 332.2 MB, free: 8.281 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.009226, allocations: 0 / 332.2 MB, free: 8.281 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.009233, allocations: 0 / 332.2 MB, free: 8.281 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.001371/0.0106, allocations: 0.8597 MB / 333 MB, free: 7.387 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.01064, allocations: 8.031 kB / 333 MB, free: 7.379 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/0.01075, allocations: 87.67 kB / 333.1 MB, free: 7.281 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.01085, allocations: 68.56 kB / 333.2 MB, free: 7.215 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005312/0.01138, allocations: 380.6 kB / 333.6 MB, free: 6.816 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.388e-05/0.01147, allocations: 118.7 kB / 333.7 MB, free: 6.684 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.263e-05/0.01151, allocations: 40.33 kB / 333.7 MB, free: 6.645 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006424/0.01215, allocations: 0.8829 MB / 334.6 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.01217, allocations: 4.188 kB / 334.6 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/0.0122, allocations: 19.94 kB / 334.6 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.0122, allocations: 8 kB / 334.6 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005042/0.01271, allocations: 351.8 kB / 335 MB, free: 5.242 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.001318/0.01403, allocations: 1.071 MB / 336 MB, free: 4.117 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005558/0.01458, allocations: 363.5 kB / 336.4 MB, free: 3.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.01481, allocations: 172.8 kB / 336.6 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.01483, allocations: 8 kB / 336.6 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.01486, allocations: 38.56 kB / 336.6 MB, free: 3.523 MB / 298.7 MB Notification: Performance of pre-optimization done (n=37): time 1.583e-06/0.01486, allocations: 7.938 kB / 336.6 MB, free: 3.516 MB / 298.7 MB Notification: Performance of matching and sorting (n=37): time 0.001045/0.01591, allocations: 0.5923 MB / 337.2 MB, free: 2.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.01604, allocations: 448.9 kB / 337.6 MB, free: 2.367 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004041/0.01644, allocations: 478 kB / 338.1 MB, free: 1.891 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.01647, allocations: 37.7 kB / 338.1 MB, free: 1.848 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.01659, allocations: 248.6 kB / 338.4 MB, free: 1.602 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.005e-05/0.01666, allocations: 138.8 kB / 338.5 MB, free: 1.465 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.325e-05/0.01675, allocations: 81.59 kB / 338.6 MB, free: 1.379 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.05e-05/0.01684, allocations: 358.8 kB / 339 MB, free: 1.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.01705, allocations: 169.6 kB / 339.1 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004808/0.01753, allocations: 0.693 MB / 339.8 MB, free: 4 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000437/0.01797, allocations: 347.1 kB / 340.2 MB, free: 15.65 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.01797, allocations: 0 / 340.2 MB, free: 15.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005786/0.01855, allocations: 0.5135 MB / 340.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.01858, allocations: 33.7 kB / 340.7 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.01858, allocations: 4 kB / 340.7 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001108/0.01869, allocations: 45.69 kB / 340.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.0189, allocations: 91.91 kB / 340.8 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/0.02055, allocations: 2.738 MB / 343.6 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.02075, allocations: 55.95 kB / 343.6 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.02077, allocations: 12 kB / 343.6 MB, free: 11.89 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.0001379/0.02091, allocations: 169.8 kB / 343.8 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.211e-05/0.02096, allocations: 55.67 kB / 343.9 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.856e-05/0.02102, allocations: 56.92 kB / 343.9 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.02102, allocations: 4 kB / 343.9 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.02102, allocations: 3.938 kB / 343.9 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005463/0.02157, allocations: 0.7475 MB / 344.7 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009819/0.02255, allocations: 0.9384 MB / 345.6 MB, free: 9.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.02255, allocations: 3.938 kB / 345.6 MB, free: 9.746 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/0.02278, allocations: 91.88 kB / 345.7 MB, free: 9.656 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.02278, allocations: 3.984 kB / 345.7 MB, free: 9.652 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.0228, allocations: 8 kB / 345.7 MB, free: 9.645 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.0228, allocations: 3.938 kB / 345.7 MB, free: 9.641 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.0228, allocations: 0 / 345.7 MB, free: 9.641 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007384/0.02354, allocations: 0.6647 MB / 346.4 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.02366, allocations: 99.52 kB / 346.5 MB, free: 8.859 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/0.0237, allocations: 8 kB / 346.5 MB, free: 8.852 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.02388, allocations: 27.97 kB / 346.5 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.02393, allocations: 32 kB / 346.6 MB, free: 8.793 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.02394, allocations: 8 kB / 346.6 MB, free: 8.785 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002401/0.02418, allocations: 342.9 kB / 346.9 MB, free: 8.453 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02418, allocations: 3.938 kB / 346.9 MB, free: 8.449 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002685/0.02445, allocations: 151.7 kB / 347 MB, free: 8.301 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.0009188/0.02537, allocations: 1.232 MB / 348.3 MB, free: 7.039 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006833/0.02605, allocations: 0.6662 MB / 348.9 MB, free: 6.328 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.02605, allocations: 0 / 348.9 MB, free: 6.328 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002236/0.02627, allocations: 175.5 kB / 349.1 MB, free: 6.156 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.02668, allocations: 141.9 kB / 349.3 MB, free: 6.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004301/0.03098, allocations: 4.749 MB / 354 MB, free: 1.129 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.03112, allocations: 234.3 kB / 354.2 MB, free: 0.875 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001573/0.03127, allocations: 72.52 kB / 354.3 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001734/0.03145, allocations: 180.4 kB / 354.5 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of SimCode: time 6.22e-07/0.03145, allocations: 0 / 354.5 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02619/0.05764, allocations: 15.83 MB / 370.3 MB, free: 1.117 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.648/7.706, allocations: 4 kB / 370.3 MB, free: 1.113 MB / 330.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.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_4.1.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.328298721462488]