Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.0007762/0.0007762, allocations: 83.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.003589/0.003589, allocations: 165.6 kB / 24.7 MB, free: 8.887 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.8775/0.8775, allocations: 158.6 MB / 186.5 MB, free: 3.031 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.PumpAndValve,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.249e-05/1.396e-05, allocations: 2.281 kB / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.1259/0.1259, allocations: 3.95 MB / 302.4 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.1276, allocations: 1.203 MB / 303.6 MB, free: 13.1 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/0.1278, allocations: 14.69 kB / 303.6 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.1281, allocations: 133.1 kB / 303.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003653/0.1285, allocations: 285.8 kB / 304 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.1288, allocations: 201.4 kB / 304.2 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006077/0.1294, allocations: 0.9675 MB / 305.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.1296, allocations: 159.8 kB / 305.3 MB, free: 12.41 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004646/0.13, allocations: 0.5363 MB / 305.9 MB, free: 12.2 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002839/0.1303, allocations: 298.8 kB / 306.2 MB, free: 12.11 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.32e-05/0.1304, allocations: 75.97 kB / 306.2 MB, free: 12.11 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.542e-05/0.1305, allocations: 78.28 kB / 306.3 MB, free: 12.11 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.345e-05/0.1306, allocations: 171.6 kB / 306.5 MB, free: 12 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002034/0.1308, allocations: 302.2 kB / 306.8 MB, free: 11.89 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006965/0.1315, allocations: 0.9557 MB / 307.7 MB, free: 11.55 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1315, allocations: 1.891 kB / 307.7 MB, free: 11.55 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1315, allocations: 0 / 307.7 MB, free: 11.55 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.1315, allocations: 1.688 kB / 307.7 MB, free: 11.55 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001156/0.1326, allocations: 1.048 MB / 308.8 MB, free: 10.83 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1327, allocations: 13.92 kB / 308.8 MB, free: 10.82 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001114/0.1328, allocations: 104.1 kB / 308.9 MB, free: 10.74 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.898e-05/0.1329, allocations: 90.86 kB / 309 MB, free: 10.7 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004978/0.1334, allocations: 429.5 kB / 309.4 MB, free: 10.41 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.1335, allocations: 150.4 kB / 309.5 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.406e-05/0.1335, allocations: 52.16 kB / 309.6 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007339/0.1343, allocations: 1.158 MB / 310.8 MB, free: 9.23 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1343, allocations: 0 / 310.8 MB, free: 9.23 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.305e-05/0.1343, allocations: 22.84 kB / 310.8 MB, free: 9.215 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.1343, allocations: 12.2 kB / 310.8 MB, free: 9.215 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006393/0.135, allocations: 455.4 kB / 311.2 MB, free: 9.074 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.001839/0.1368, allocations: 1.561 MB / 312.8 MB, free: 8.152 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.1379, allocations: 0.5719 MB / 313.4 MB, free: 7.973 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/0.1382, allocations: 237.4 kB / 313.6 MB, free: 7.883 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-05/0.1382, allocations: 9.391 kB / 313.6 MB, free: 7.883 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.1382, allocations: 45.08 kB / 313.7 MB, free: 7.836 MB / 282.7 MB Notification: Performance of pre-optimization done (n=54): time 1.593e-06/0.1382, allocations: 3.938 kB / 313.7 MB, free: 7.832 MB / 282.7 MB Notification: Performance of matching and sorting (n=54): time 0.002613/0.1409, allocations: 1.25 MB / 314.9 MB, free: 7.465 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.677e-05/0.1409, allocations: 0.5682 MB / 315.5 MB, free: 6.773 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000487/0.1414, allocations: 0.5353 MB / 316 MB, free: 6.527 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.663e-05/0.1415, allocations: 39.05 kB / 316 MB, free: 6.488 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.1416, allocations: 290.7 kB / 316.3 MB, free: 6.254 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.1417, allocations: 201.8 kB / 316.5 MB, free: 6.094 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.1418, allocations: 109.3 kB / 316.6 MB, free: 6.039 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.502e-05/0.1419, allocations: 376.6 kB / 317 MB, free: 5.695 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.1423, allocations: 217.6 kB / 317.2 MB, free: 5.605 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004969/0.1427, allocations: 0.9653 MB / 318.2 MB, free: 4.609 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006286/0.1434, allocations: 492.4 kB / 318.7 MB, free: 4.363 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1434, allocations: 0 / 318.7 MB, free: 4.363 MB / 282.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001284/0.1447, allocations: 0.8345 MB / 319.5 MB, free: 3.996 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.83e-05/0.1447, allocations: 36.11 kB / 319.5 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.1447, allocations: 1.094 kB / 319.5 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005769/0.1453, allocations: 222.1 kB / 319.7 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/0.1457, allocations: 129.7 kB / 319.9 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003816/0.1495, allocations: 5.253 MB / 325.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003268/0.1498, allocations: 79.16 kB / 325.2 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.1498, allocations: 17.69 kB / 325.2 MB, free: 15.34 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(5,2), (1,1), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001892/0.15, allocations: 198.3 kB / 325.4 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.818e-05/0.1501, allocations: 71.52 kB / 325.5 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.1514, allocations: 0.7739 MB / 326.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1514, allocations: 5.469 kB / 326.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.1514, allocations: 2.375 kB / 326.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001181/0.1526, allocations: 1.035 MB / 327.3 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/0.1544, allocations: 1.355 MB / 328.7 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1544, allocations: 1.375 kB / 328.7 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003771/0.1548, allocations: 137.6 kB / 328.8 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004119/0.1552, allocations: 172.2 kB / 329 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.1552, allocations: 12.78 kB / 329 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002826/0.158, allocations: 3.562 MB / 332.5 MB, free: 9.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.158, allocations: 0 / 332.5 MB, free: 9.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.1595, allocations: 1.073 MB / 333.6 MB, free: 8.941 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/0.1597, allocations: 129.9 kB / 333.7 MB, free: 8.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.73e-05/0.1598, allocations: 13.56 kB / 333.8 MB, free: 8.832 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.16, allocations: 39.16 kB / 333.8 MB, free: 8.812 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.444e-05/0.1601, allocations: 44.88 kB / 333.8 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.1601, allocations: 16.06 kB / 333.8 MB, free: 8.777 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000284/0.1604, allocations: 392.1 kB / 334.2 MB, free: 8.547 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1604, allocations: 0 / 334.2 MB, free: 8.547 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000495/0.1609, allocations: 218.6 kB / 334.4 MB, free: 8.516 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * 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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,2), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001794/0.1627, allocations: 1.619 MB / 336.1 MB, free: 7.355 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001317/0.164, allocations: 1.039 MB / 337.1 MB, free: 6.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.164, allocations: 7.938 kB / 337.1 MB, free: 6.422 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005254/0.1645, allocations: 0.5117 MB / 337.6 MB, free: 5.883 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005239/0.1651, allocations: 188.8 kB / 337.8 MB, free: 5.707 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006653/0.1717, allocations: 6.106 MB / 343.9 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001949/0.1719, allocations: 290 kB / 344.2 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002336/0.1721, allocations: 81.12 kB / 344.3 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/0.1724, allocations: 236.4 kB / 344.5 MB, free: 14.84 MB / 314.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1724, allocations: 0 / 344.5 MB, free: 14.84 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03736/0.2097, allocations: 22.14 MB / 366.6 MB, free: 8.598 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.206/8.416, allocations: 0 / 366.6 MB, free: 8.598 MB / 330.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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: 10.05633533373475]