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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 117.3 kB / 18.45 MB, free: 4.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 193.2 kB / 21.39 MB, free: 1.688 MB / 14.72 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 1.411/1.411, allocations: 207.6 MB / 231.8 MB, free: 4.211 MB / 174.1 MB " [Timeout remaining time 178] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 52.38 kB / 342.3 MB, free: 10.04 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09239/0.09412, allocations: 49.12 MB / 391.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.007331/0.1015, allocations: 5.218 MB / 396.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003014/0.1045, allocations: 1.383 MB / 398 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006397/0.1051, allocations: 15.94 kB / 398 MB, free: 2.109 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006421/0.1057, allocations: 162.5 kB / 398.1 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.1069, allocations: 345.1 kB / 398.5 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007061/0.1076, allocations: 247.6 kB / 398.7 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001863/0.1094, allocations: 1.219 MB / 399.9 MB, free: 148 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005266/0.11, allocations: 246.2 kB / 400.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008151/0.1108, allocations: 466.4 kB / 400.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000962/0.1118, allocations: 0.533 MB / 401.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003071/0.1121, allocations: 108 kB / 401.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002873/0.1123, allocations: 112 kB / 401.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002187/0.1126, allocations: 231.2 kB / 401.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005853/0.1131, allocations: 0.5405 MB / 402.2 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.1147, allocations: 1.265 MB / 403.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1147, allocations: 0 / 403.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1147, allocations: 3.938 kB / 403.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.985e-05/0.1147, allocations: 0 / 403.4 MB, free: 12.64 MB / 334.1 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.002821/0.1175, allocations: 1.418 MB / 404.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.1176, allocations: 8.031 kB / 404.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001982/0.1178, allocations: 119.9 kB / 405 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002097/0.118, allocations: 124.2 kB / 405.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.1191, allocations: 0.5993 MB / 405.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000212/0.1193, allocations: 151 kB / 405.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.1194, allocations: 64.38 kB / 405.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.121, allocations: 0.8977 MB / 406.8 MB, free: 9.031 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.121, allocations: 7.984 kB / 406.8 MB, free: 9.023 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.376e-05/0.1211, allocations: 35.94 kB / 406.8 MB, free: 8.988 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.1211, allocations: 12 kB / 406.8 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.1226, allocations: 0.6336 MB / 407.5 MB, free: 8.344 MB / 334.1 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.003799/0.1264, allocations: 2.225 MB / 409.7 MB, free: 6.016 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.1282, allocations: 0.951 MB / 410.7 MB, free: 4.992 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008301/0.129, allocations: 379.3 kB / 411 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.255e-05/0.129, allocations: 16.64 kB / 411 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/0.1291, allocations: 43.22 kB / 411.1 MB, free: 4.551 MB / 334.1 MB Notification: Performance of pre-optimization done (n=77): time 2.615e-06/0.1291, allocations: 0 / 411.1 MB, free: 4.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=77): time 0.005211/0.1343, allocations: 1.844 MB / 412.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004776/0.1348, allocations: 0.8234 MB / 413.8 MB, free: 1.594 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009716/0.1358, allocations: 0.6608 MB / 414.4 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.767e-05/0.1359, allocations: 45.7 kB / 414.5 MB, free: 0.875 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003259/0.1362, allocations: 361.3 kB / 414.8 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002691/0.1364, allocations: 285.5 kB / 415.1 MB, free: 244 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002396/0.1367, allocations: 142.7 kB / 415.2 MB, free: 96 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.1369, allocations: 338 kB / 415.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006796/0.1375, allocations: 281.8 kB / 415.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009475/0.1385, allocations: 0.5624 MB / 416.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/0.1399, allocations: 0.7051 MB / 417.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1399, allocations: 0 / 417.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002823/0.1427, allocations: 1.13 MB / 418.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.823e-05/0.1428, allocations: 89.09 kB / 418.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1428, allocations: 4 kB / 418.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006826/0.1435, allocations: 223.3 kB / 418.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006638/0.1442, allocations: 155.8 kB / 418.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008602/0.1528, allocations: 6.935 MB / 425.6 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009301/0.1537, allocations: 103.5 kB / 425.7 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.1538, allocations: 27.94 kB / 425.8 MB, free: 4.797 MB / 350.1 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.0004485/0.1543, allocations: 229.7 kB / 426 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/0.1545, allocations: 95.44 kB / 426.1 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/0.1547, allocations: 100.5 kB / 426.2 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.1547, allocations: 8 kB / 426.2 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.1547, allocations: 0 / 426.2 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00259/0.1573, allocations: 1.253 MB / 427.4 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00416/0.1615, allocations: 1.986 MB / 429.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.1615, allocations: 4 kB / 429.4 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007218/0.1622, allocations: 151.8 kB / 429.6 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005408/0.1627, allocations: 198.5 kB / 429.8 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.659e-05/0.1628, allocations: 19.98 kB / 429.8 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006979/0.1698, allocations: 5.338 MB / 435.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.1698, allocations: 0 / 435.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003512/0.1733, allocations: 1.442 MB / 436.6 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000514/0.1738, allocations: 256.3 kB / 436.8 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001981/0.174, allocations: 23.94 kB / 436.8 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006897/0.1747, allocations: 47.95 kB / 436.9 MB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/0.1749, allocations: 64.56 kB / 436.9 MB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.237e-05/0.1749, allocations: 16 kB / 437 MB, free: 8.918 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000691/0.1756, allocations: 487 kB / 437.4 MB, free: 8.449 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1756, allocations: 4 kB / 437.4 MB, free: 8.445 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009866/0.1766, allocations: 287.8 kB / 437.7 MB, free: 8.164 MB / 366.1 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.003728/0.1803, allocations: 2.013 MB / 439.7 MB, free: 6.113 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002468/0.1828, allocations: 1.348 MB / 441.1 MB, free: 4.672 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.1828, allocations: 0 / 441.1 MB, free: 4.672 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001428/0.1842, allocations: 0.7574 MB / 441.8 MB, free: 3.875 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.1854, allocations: 247.1 kB / 442.1 MB, free: 3.633 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/0.1998, allocations: 7.821 MB / 449.9 MB, free: 11.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006784/0.2004, allocations: 0.9559 MB / 450.9 MB, free: 10.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005503/0.201, allocations: 110.7 kB / 451 MB, free: 10.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004411/0.2014, allocations: 315.3 kB / 451.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.2014, allocations: 0 / 451.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2417/0.4431, allocations: 26.76 MB / 478 MB, free: 60.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.4, allocations: 6.719 kB / 478 MB, free: 60.38 MB / 382.1 MB " [Timeout remaining time 646] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.848210226278752]