Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.0007995/0.0007995, 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.003629/0.003629, allocations: 166 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.7907/0.7907, allocations: 158.6 MB / 186.5 MB, free: 3.043 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.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.118e-05, allocations: 2.281 kB / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.1239/0.1239, allocations: 4.639 MB / 303.1 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.1256, allocations: 1.325 MB / 304.4 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002537/0.1259, allocations: 13.62 kB / 304.4 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.1262, allocations: 178.5 kB / 304.6 MB, free: 12.88 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004207/0.1266, allocations: 355.3 kB / 304.9 MB, free: 12.64 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.1269, allocations: 248 kB / 305.2 MB, free: 12.55 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007679/0.1277, allocations: 1.278 MB / 306.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002744/0.128, allocations: 229.2 kB / 306.7 MB, free: 11.74 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005271/0.1285, allocations: 0.701 MB / 307.4 MB, free: 11.44 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003711/0.1289, allocations: 402.1 kB / 307.8 MB, free: 11.3 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.129, allocations: 108 kB / 307.9 MB, free: 11.3 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.1291, allocations: 109.9 kB / 308 MB, free: 11.3 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.1292, allocations: 236 kB / 308.2 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002731/0.1295, allocations: 402.5 kB / 308.6 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000878/0.1304, allocations: 1.305 MB / 309.9 MB, free: 10.45 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1304, allocations: 5.688 kB / 309.9 MB, free: 10.45 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1304, allocations: 0 / 309.9 MB, free: 10.45 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.1304, allocations: 0 / 309.9 MB, free: 10.45 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001397/0.1318, allocations: 1.328 MB / 311.2 MB, free: 9.562 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1318, allocations: 19.67 kB / 311.3 MB, free: 9.555 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001305/0.1319, allocations: 129.2 kB / 311.4 MB, free: 9.461 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.1321, allocations: 118.1 kB / 311.5 MB, free: 9.406 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006615/0.1327, allocations: 0.5336 MB / 312 MB, free: 9.051 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.1328, allocations: 303.9 kB / 312.3 MB, free: 8.742 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.83e-05/0.1329, allocations: 73.11 kB / 312.4 MB, free: 8.715 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000954/0.1339, allocations: 1.663 MB / 314.1 MB, free: 7.23 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.1339, allocations: 192 / 314.1 MB, free: 7.23 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.401e-05/0.1339, allocations: 36.88 kB / 314.1 MB, free: 7.203 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.1339, allocations: 20.19 kB / 314.1 MB, free: 7.199 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008861/0.1348, allocations: 0.6255 MB / 314.8 MB, free: 7.008 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.002097/0.1369, allocations: 1.747 MB / 316.5 MB, free: 6.07 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009902/0.1379, allocations: 0.725 MB / 317.2 MB, free: 5.797 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004908/0.1384, allocations: 376.2 kB / 317.6 MB, free: 5.656 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.335e-05/0.1384, allocations: 14.14 kB / 317.6 MB, free: 5.656 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.1385, allocations: 55.98 kB / 317.7 MB, free: 5.602 MB / 282.7 MB Notification: Performance of pre-optimization done (n=77): time 1.684e-06/0.1385, allocations: 3.938 kB / 317.7 MB, free: 5.598 MB / 282.7 MB Notification: Performance of matching and sorting (n=77): time 0.002654/0.1411, allocations: 1.523 MB / 319.2 MB, free: 5.121 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.1412, allocations: 0.8232 MB / 320 MB, free: 4.117 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005629/0.1418, allocations: 0.6618 MB / 320.7 MB, free: 3.828 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.554e-05/0.1418, allocations: 45.42 kB / 320.7 MB, free: 3.785 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.142, allocations: 364.1 kB / 321.1 MB, free: 3.496 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.1421, allocations: 278.6 kB / 321.3 MB, free: 3.258 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.1423, allocations: 143.7 kB / 321.5 MB, free: 3.176 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.84e-05/0.1423, allocations: 336.6 kB / 321.8 MB, free: 2.848 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004002/0.1427, allocations: 362.5 kB / 322.2 MB, free: 2.617 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005505/0.1433, allocations: 1.397 MB / 323.6 MB, free: 1.125 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007889/0.144, allocations: 0.7126 MB / 324.3 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.144, allocations: 0 / 324.3 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001457/0.1455, allocations: 1.204 MB / 325.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.826e-05/0.1455, allocations: 84.05 kB / 325.6 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1456, allocations: 3.938 kB / 325.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004313/0.146, allocations: 244.5 kB / 325.8 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/0.1463, allocations: 150 kB / 326 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00458/0.1509, allocations: 6.452 MB / 332.4 MB, free: 9.656 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004171/0.1513, allocations: 108 kB / 332.5 MB, free: 9.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.846e-05/0.1514, allocations: 21.16 kB / 332.5 MB, free: 9.586 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002374/0.1516, allocations: 233.3 kB / 332.8 MB, free: 9.398 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.1517, allocations: 99.64 kB / 332.9 MB, free: 9.348 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.1518, allocations: 97.23 kB / 333 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.1518, allocations: 7 kB / 333 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.1518, allocations: 0 / 333 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001381/0.1532, allocations: 1.265 MB / 334.2 MB, free: 8.316 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/0.1555, allocations: 1.802 MB / 336 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.1555, allocations: 1.375 kB / 336 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003575/0.1559, allocations: 141.8 kB / 336.2 MB, free: 7.121 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003087/0.1562, allocations: 196.3 kB / 336.4 MB, free: 7.016 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/0.1562, allocations: 16.59 kB / 336.4 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003515/0.1597, allocations: 4.997 MB / 341.4 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1597, allocations: 0 / 341.4 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/0.1615, allocations: 1.442 MB / 342.8 MB, free: 296 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002314/0.1618, allocations: 171.2 kB / 343 MB, free: 124 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.622e-05/0.1618, allocations: 27.92 kB / 343 MB, free: 96 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003182/0.1622, allocations: 51.89 kB / 343.1 MB, free: 44 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.1623, allocations: 64.53 kB / 343.1 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.1623, allocations: 20 kB / 343.1 MB, free: 15.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003629/0.1627, allocations: 483 kB / 343.6 MB, free: 15.49 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1627, allocations: 0 / 343.6 MB, free: 15.49 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005449/0.1632, allocations: 295.7 kB / 343.9 MB, free: 15.2 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002124/0.1653, allocations: 2.006 MB / 345.9 MB, free: 13.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.1666, allocations: 1.423 MB / 347.3 MB, free: 11.63 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1666, allocations: 0 / 347.3 MB, free: 11.63 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008386/0.1675, allocations: 0.7574 MB / 348.1 MB, free: 10.83 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006141/0.1681, allocations: 246.6 kB / 348.3 MB, free: 10.59 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008223/0.1763, allocations: 8.082 MB / 356.4 MB, free: 2.254 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/0.1765, allocations: 363.6 kB / 356.8 MB, free: 1.875 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002497/0.1768, allocations: 106.7 kB / 356.9 MB, free: 1.766 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.177, allocations: 316.4 kB / 357.2 MB, free: 1.457 MB / 314.7 MB Notification: Performance of SimCode: time 6.21e-07/0.177, allocations: 0 / 357.2 MB, free: 1.457 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04225/0.2193, allocations: 28.98 MB / 386.2 MB, free: 4.375 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.418/8.638, allocations: 8.062 kB / 386.2 MB, free: 4.367 MB / 346.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.20384857058525]