Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001234/0.001234, allocations: 123.7 kB / 17.79 MB, free: 5.121 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.001358/0.001358, allocations: 190.9 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 225.6 MB / 249.1 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 51.92 kB / 365.6 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09411/0.09559, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006477/0.1021, allocations: 5.221 MB / 423 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002552/0.1046, allocations: 1.324 MB / 424.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003197/0.1049, allocations: 15.94 kB / 424.3 MB, free: 6.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004321/0.1054, allocations: 170.5 kB / 424.5 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006448/0.106, allocations: 345.1 kB / 424.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004834/0.1065, allocations: 239.6 kB / 425.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001371/0.1079, allocations: 1.227 MB / 426.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00037/0.1082, allocations: 238.2 kB / 426.5 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004822/0.1087, allocations: 478.4 kB / 427 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000588/0.1093, allocations: 0.533 MB / 427.5 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.1095, allocations: 108 kB / 427.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.1096, allocations: 112 kB / 427.8 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002047/0.1098, allocations: 235.2 kB / 428 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005091/0.1103, allocations: 0.5327 MB / 428.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.1116, allocations: 1.261 MB / 429.8 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1116, allocations: 0 / 429.8 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1116, allocations: 3.938 kB / 429.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.1117, allocations: 0 / 429.8 MB, free: 0.5352 MB / 350.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.00253/0.1142, allocations: 1.418 MB / 431.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1142, allocations: 8.031 kB / 431.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001815/0.1144, allocations: 123.9 kB / 431.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/0.1146, allocations: 124.3 kB / 431.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.1156, allocations: 0.6071 MB / 432.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002072/0.1158, allocations: 147 kB / 432.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.116, allocations: 68.33 kB / 432.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.1175, allocations: 0.9133 MB / 433.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.1175, allocations: 4 kB / 433.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.752e-05/0.1176, allocations: 28 kB / 433.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.1176, allocations: 12 kB / 433.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/0.1191, allocations: 0.6414 MB / 433.9 MB, free: 12.21 MB / 366.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.003808/0.1229, allocations: 2.206 MB / 436.1 MB, free: 9.902 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.1246, allocations: 0.959 MB / 437 MB, free: 8.883 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008114/0.1255, allocations: 375.2 kB / 437.4 MB, free: 8.512 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.625e-05/0.1255, allocations: 20.64 kB / 437.4 MB, free: 8.492 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.1256, allocations: 47.22 kB / 437.5 MB, free: 8.438 MB / 366.1 MB Notification: Performance of pre-optimization done (n=77): time 3.025e-06/0.1256, allocations: 4 kB / 437.5 MB, free: 8.434 MB / 366.1 MB Notification: Performance of matching and sorting (n=77): time 0.005103/0.1307, allocations: 1.832 MB / 439.3 MB, free: 6.508 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004738/0.1311, allocations: 0.8195 MB / 440.1 MB, free: 5.492 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000852/0.132, allocations: 0.6686 MB / 440.8 MB, free: 4.816 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.495e-05/0.1321, allocations: 45.7 kB / 440.8 MB, free: 4.766 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003159/0.1324, allocations: 369.2 kB / 441.2 MB, free: 4.402 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/0.1326, allocations: 269.6 kB / 441.5 MB, free: 4.137 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002423/0.1329, allocations: 154.6 kB / 441.6 MB, free: 3.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.133, allocations: 330 kB / 441.9 MB, free: 3.652 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006556/0.1337, allocations: 281.8 kB / 442.2 MB, free: 3.379 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009475/0.1346, allocations: 0.5663 MB / 442.8 MB, free: 2.707 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.1361, allocations: 0.709 MB / 443.5 MB, free: 1.973 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1361, allocations: 0 / 443.5 MB, free: 1.973 MB / 366.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002711/0.1388, allocations: 1.122 MB / 444.6 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.603e-05/0.1388, allocations: 85.11 kB / 444.7 MB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.1389, allocations: 0 / 444.7 MB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006941/0.1395, allocations: 239.2 kB / 444.9 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000656/0.1402, allocations: 147.8 kB / 445.1 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1635/0.3037, allocations: 6.923 MB / 452 MB, free: 24.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008415/0.3045, allocations: 108.3 kB / 452.1 MB, free: 24.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.833e-05/0.3046, allocations: 26.09 kB / 452.1 MB, free: 24.8 MB / 366.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.0002834/0.3048, allocations: 221.8 kB / 452.3 MB, free: 24.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.305, allocations: 96.08 kB / 452.4 MB, free: 24.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001551/0.3051, allocations: 96.98 kB / 452.5 MB, free: 24.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3051, allocations: 8.312 kB / 452.5 MB, free: 24.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3051, allocations: 1.547 kB / 452.5 MB, free: 24.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002048/0.3072, allocations: 1.259 MB / 453.8 MB, free: 24.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003389/0.3106, allocations: 1.994 MB / 455.8 MB, free: 23.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3106, allocations: 4.078 kB / 455.8 MB, free: 23.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006715/0.3113, allocations: 143.4 kB / 455.9 MB, free: 23.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004836/0.3117, allocations: 197.8 kB / 456.1 MB, free: 23.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.039e-05/0.3118, allocations: 17.11 kB / 456.1 MB, free: 23.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005245/0.317, allocations: 5.35 MB / 461.5 MB, free: 19.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.317, allocations: 1.391 kB / 461.5 MB, free: 19.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003076/0.3201, allocations: 1.441 MB / 462.9 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000327/0.3204, allocations: 255.9 kB / 463.2 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.3205, allocations: 19.12 kB / 463.2 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006043/0.3211, allocations: 50.31 kB / 463.2 MB, free: 18.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.3213, allocations: 67.66 kB / 463.3 MB, free: 18.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.052e-05/0.3213, allocations: 21.27 kB / 463.3 MB, free: 18.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005306/0.3219, allocations: 476.2 kB / 463.8 MB, free: 18.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3219, allocations: 0 / 463.8 MB, free: 18.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008735/0.3227, allocations: 295 kB / 464.1 MB, free: 18.04 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.003083/0.3258, allocations: 2.016 MB / 466.1 MB, free: 16.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001924/0.3278, allocations: 1.342 MB / 467.4 MB, free: 16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.3278, allocations: 2.594 kB / 467.4 MB, free: 16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001181/0.3289, allocations: 0.756 MB / 468.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009184/0.3299, allocations: 247.3 kB / 468.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/0.3412, allocations: 7.816 MB / 476.3 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.3416, allocations: 0.9596 MB / 477.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005111/0.3421, allocations: 107.8 kB / 477.3 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003494/0.3424, allocations: 318.9 kB / 477.6 MB, free: 10.6 MB / 366.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3424, allocations: 1.531 kB / 477.6 MB, free: 10.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06136/0.4038, allocations: 26.77 MB / 0.4926 GB, free: 5.559 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.24, allocations: 6.203 kB / 0.4926 GB, free: 5.555 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.650585253722966]