Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008664/0.0008664, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.005206/0.005206, allocations: 162.6 kB / 24.69 MB, free: 9.406 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8378/0.8378, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.132e-05/1.275e-05, allocations: 2.281 kB / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003419/0.003432, allocations: 3.417 MB / 301.8 MB, free: 88 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.122/0.1254, allocations: 0.9875 MB / 302.8 MB, free: 13.17 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.1256, allocations: 12.69 kB / 302.8 MB, free: 13.17 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002809/0.1259, allocations: 115.9 kB / 303 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003358/0.1262, allocations: 218.2 kB / 303.2 MB, free: 13.06 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.1265, allocations: 143.1 kB / 303.3 MB, free: 13.05 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006649/0.1272, allocations: 0.7297 MB / 304 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/0.1274, allocations: 129.4 kB / 304.2 MB, free: 12.81 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003823/0.1278, allocations: 410.3 kB / 304.6 MB, free: 12.69 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002483/0.128, allocations: 227.7 kB / 304.8 MB, free: 12.62 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.099e-05/0.1281, allocations: 59.62 kB / 304.8 MB, free: 12.62 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.263e-05/0.1281, allocations: 60.5 kB / 304.9 MB, free: 12.62 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.218e-05/0.1282, allocations: 138.7 kB / 305 MB, free: 12.53 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.1284, allocations: 222.1 kB / 305.3 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000677/0.1291, allocations: 0.7365 MB / 306 MB, free: 12.19 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1291, allocations: 0 / 306 MB, free: 12.19 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1291, allocations: 0 / 306 MB, free: 12.19 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.1291, allocations: 0.7031 kB / 306 MB, free: 12.19 MB / 282.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.00104/0.1301, allocations: 0.8567 MB / 306.9 MB, free: 11.58 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.1302, allocations: 13.36 kB / 306.9 MB, free: 11.57 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.338e-05/0.1303, allocations: 82.83 kB / 306.9 MB, free: 11.5 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.662e-05/0.1304, allocations: 72.05 kB / 307 MB, free: 11.47 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000528/0.1309, allocations: 391.8 kB / 307.4 MB, free: 11.2 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.261e-05/0.131, allocations: 113.1 kB / 307.5 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.131, allocations: 33.08 kB / 307.5 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006086/0.1316, allocations: 0.8808 MB / 308.4 MB, free: 10.32 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.1316, allocations: 4.734 kB / 308.4 MB, free: 10.31 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/0.1316, allocations: 21.06 kB / 308.4 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.1317, allocations: 12.5 kB / 308.5 MB, free: 10.29 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000503/0.1322, allocations: 352.5 kB / 308.8 MB, free: 10.19 MB / 282.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.001548/0.1337, allocations: 1.079 MB / 309.9 MB, free: 9.555 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006176/0.1343, allocations: 356.2 kB / 310.2 MB, free: 9.422 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002943/0.1346, allocations: 173.1 kB / 310.4 MB, free: 9.359 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/0.1347, allocations: 5.984 kB / 310.4 MB, free: 9.359 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.1347, allocations: 46.72 kB / 310.5 MB, free: 9.309 MB / 282.7 MB Notification: Performance of pre-optimization done (n=37): time 1.663e-06/0.1347, allocations: 0 / 310.5 MB, free: 9.309 MB / 282.7 MB Notification: Performance of matching and sorting (n=37): time 0.0009892/0.1357, allocations: 0.5916 MB / 311 MB, free: 9.07 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.1357, allocations: 445.3 kB / 311.5 MB, free: 8.539 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004033/0.1361, allocations: 480.7 kB / 311.9 MB, free: 8.309 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.1362, allocations: 33.89 kB / 312 MB, free: 8.273 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.1363, allocations: 252.2 kB / 312.2 MB, free: 8.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.987e-05/0.1364, allocations: 134.9 kB / 312.4 MB, free: 7.965 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.527e-05/0.1365, allocations: 85.44 kB / 312.4 MB, free: 7.914 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.486e-05/0.1365, allocations: 366.5 kB / 312.8 MB, free: 7.574 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.1368, allocations: 170.1 kB / 313 MB, free: 7.496 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004055/0.1372, allocations: 0.6787 MB / 313.6 MB, free: 6.801 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005465/0.1377, allocations: 347.3 kB / 314 MB, free: 6.637 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1377, allocations: 4 kB / 314 MB, free: 6.633 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006753/0.1384, allocations: 0.5119 MB / 314.5 MB, free: 6.367 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.682e-05/0.1385, allocations: 32 kB / 314.5 MB, free: 6.336 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.1385, allocations: 5.312 kB / 314.5 MB, free: 6.332 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001347/0.1386, allocations: 55.38 kB / 314.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.1388, allocations: 88.27 kB / 314.7 MB, free: 6.293 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.1401, allocations: 2.742 MB / 317.4 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.1403, allocations: 54.8 kB / 317.5 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.1403, allocations: 14.86 kB / 317.5 MB, free: 3.609 MB / 282.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.0001443/0.1405, allocations: 174.7 kB / 317.7 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.247e-05/0.1405, allocations: 59.53 kB / 317.7 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.057e-05/0.1406, allocations: 56.7 kB / 317.8 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1406, allocations: 3.125 kB / 317.8 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1406, allocations: 5.828 kB / 317.8 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005356/0.1411, allocations: 0.7441 MB / 318.5 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.1422, allocations: 0.9328 MB / 319.5 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1422, allocations: 1.75 kB / 319.5 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.1425, allocations: 91.98 kB / 319.5 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1425, allocations: 0.9062 kB / 319.5 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.1425, allocations: 11.69 kB / 319.6 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.1425, allocations: 2.094 kB / 319.6 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1425, allocations: 0 / 319.6 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007681/0.1432, allocations: 0.6662 MB / 320.2 MB, free: 1.852 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.1434, allocations: 103.8 kB / 320.3 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.1434, allocations: 12 kB / 320.3 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.1436, allocations: 31.16 kB / 320.4 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.6e-05/0.1437, allocations: 25.95 kB / 320.4 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.1437, allocations: 11.59 kB / 320.4 MB, free: 1.762 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002836/0.144, allocations: 341.2 kB / 320.7 MB, free: 1.598 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.144, allocations: 0 / 320.7 MB, free: 1.598 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003233/0.1443, allocations: 143.8 kB / 320.9 MB, free: 1.574 MB / 282.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.0009395/0.1452, allocations: 1.229 MB / 322.1 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007534/0.146, allocations: 0.6582 MB / 322.8 MB, free: 268 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.146, allocations: 2.219 kB / 322.8 MB, free: 268 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.1462, allocations: 168.4 kB / 322.9 MB, free: 220 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004646/0.1467, allocations: 142.8 kB / 323.1 MB, free: 172 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005247/0.1519, allocations: 4.768 MB / 327.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.1522, allocations: 236.5 kB / 328.1 MB, free: 13.35 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002799/0.1525, allocations: 69.58 kB / 328.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002502/0.1527, allocations: 182.8 kB / 328.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of SimCode: time 1.362e-06/0.1527, allocations: 0 / 328.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02759/0.1803, allocations: 15.83 MB / 344.1 MB, free: 15.44 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.924/8.104, allocations: 0 / 344.1 MB, free: 15.44 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.675261514261365]