Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008141/0.0008141, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009537/0.0009536, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.23/1.23, allocations: 227.7 MB / 246.8 MB, free: 9.672 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002015/0.0002015, allocations: 11.97 kB / 307.8 MB, free: 500 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08163/0.08185, allocations: 51.52 MB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.004412/0.08629, allocations: 4.802 MB / 364.2 MB, free: 8.133 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002445/0.08877, allocations: 1.301 MB / 365.5 MB, free: 6.824 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00049/0.08928, allocations: 15.94 kB / 365.5 MB, free: 6.809 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003794/0.08967, allocations: 131 kB / 365.6 MB, free: 6.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006715/0.09035, allocations: 297.7 kB / 365.9 MB, free: 6.387 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004042/0.09077, allocations: 203.8 kB / 366.1 MB, free: 6.188 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009505/0.09173, allocations: 1.168 MB / 367.3 MB, free: 5.012 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003719/0.09211, allocations: 306.8 kB / 367.6 MB, free: 4.695 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003464/0.09246, allocations: 414.3 kB / 368 MB, free: 4.289 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004405/0.09291, allocations: 493.8 kB / 368.5 MB, free: 3.805 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.09302, allocations: 68 kB / 368.5 MB, free: 3.738 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.09315, allocations: 68 kB / 368.6 MB, free: 3.672 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.09329, allocations: 199.2 kB / 368.8 MB, free: 3.477 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003996/0.0937, allocations: 0.5187 MB / 369.3 MB, free: 2.949 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000823/0.09453, allocations: 1.167 MB / 370.5 MB, free: 1.777 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.09454, allocations: 7.938 kB / 370.5 MB, free: 1.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.09455, allocations: 0 / 370.5 MB, free: 1.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.09456, allocations: 4 kB / 370.5 MB, free: 1.766 MB / 302.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.001888/0.09646, allocations: 1.232 MB / 371.7 MB, free: 472 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.0965, allocations: 12.03 kB / 371.7 MB, free: 460 kB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001666/0.09668, allocations: 123.8 kB / 371.8 MB, free: 328 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.09683, allocations: 115.7 kB / 372 MB, free: 212 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1356/0.2324, allocations: 0.5937 MB / 372.6 MB, free: 18.1 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003014/0.2328, allocations: 177.7 kB / 372.7 MB, free: 18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.639e-05/0.2329, allocations: 68.69 kB / 372.8 MB, free: 18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.2343, allocations: 0.9363 MB / 373.7 MB, free: 17.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.2344, allocations: 0 / 373.7 MB, free: 17.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.139e-05/0.2344, allocations: 28.78 kB / 373.8 MB, free: 17.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.2345, allocations: 19.31 kB / 373.8 MB, free: 17.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.236, allocations: 0.7009 MB / 374.5 MB, free: 17.68 MB / 302.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.003186/0.2392, allocations: 2.232 MB / 376.7 MB, free: 16.9 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/0.2407, allocations: 1.057 MB / 377.8 MB, free: 16.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000799/0.2415, allocations: 452.9 kB / 378.2 MB, free: 16.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.26e-05/0.2416, allocations: 14.19 kB / 378.2 MB, free: 16.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.2416, allocations: 58.03 kB / 378.3 MB, free: 16.1 MB / 302.1 MB Notification: Performance of pre-optimization done (n=77): time 1.873e-06/0.2416, allocations: 0 / 378.3 MB, free: 16.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=77): time 0.004925/0.2466, allocations: 2.035 MB / 380.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.2467, allocations: 0.8231 MB / 381.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006548/0.2474, allocations: 0.6647 MB / 381.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.582e-05/0.2474, allocations: 45.52 kB / 381.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.2476, allocations: 359.5 kB / 382.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.2478, allocations: 268 kB / 382.5 MB, free: 13.4 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.776e-05/0.2479, allocations: 59.86 kB / 382.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.179e-05/0.2479, allocations: 336.3 kB / 382.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006757/0.2486, allocations: 317.7 kB / 383.2 MB, free: 12.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00086/0.2495, allocations: 0.5992 MB / 383.8 MB, free: 12.53 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.2509, allocations: 0.758 MB / 384.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2509, allocations: 0 / 384.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002566/0.2535, allocations: 1.234 MB / 385.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/0.2535, allocations: 88.2 kB / 385.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2535, allocations: 1.188 kB / 385.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006343/0.2542, allocations: 249.7 kB / 386.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006246/0.2548, allocations: 157.7 kB / 386.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005664/0.2605, allocations: 6.499 MB / 392.7 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007756/0.2613, allocations: 137.7 kB / 392.9 MB, free: 5.598 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.8e-05/0.2613, allocations: 23.05 kB / 392.9 MB, free: 5.594 MB / 302.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.0003192/0.2616, allocations: 228.9 kB / 393.1 MB, free: 5.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.2618, allocations: 90.72 kB / 393.2 MB, free: 5.367 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/0.262, allocations: 98.19 kB / 393.3 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.262, allocations: 7.375 kB / 393.3 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.262, allocations: 5.438 kB / 393.3 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00246/0.2645, allocations: 1.372 MB / 394.7 MB, free: 4.469 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003521/0.268, allocations: 2.107 MB / 396.8 MB, free: 3.293 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.268, allocations: 0.875 kB / 396.8 MB, free: 3.293 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006816/0.2687, allocations: 156.2 kB / 396.9 MB, free: 3.258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005067/0.2693, allocations: 220.4 kB / 397.2 MB, free: 3.145 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.171e-05/0.2693, allocations: 16.11 kB / 397.2 MB, free: 3.133 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005523/0.2748, allocations: 5.062 MB / 402.2 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.2749, allocations: 3.984 kB / 402.2 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003458/0.2783, allocations: 1.581 MB / 403.8 MB, free: 13.63 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004256/0.2788, allocations: 243.3 kB / 404.1 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.2789, allocations: 19.91 kB / 404.1 MB, free: 13.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006564/0.2795, allocations: 75.97 kB / 404.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.2797, allocations: 64.19 kB / 404.2 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-05/0.2797, allocations: 19.77 kB / 404.2 MB, free: 13.31 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005265/0.2803, allocations: 477 kB / 404.7 MB, free: 13.04 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2803, allocations: 0 / 404.7 MB, free: 13.04 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008571/0.2812, allocations: 297.8 kB / 405 MB, free: 13 MB / 318.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.003535/0.2847, allocations: 2.148 MB / 407.1 MB, free: 11.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002194/0.2869, allocations: 1.431 MB / 408.6 MB, free: 9.559 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2869, allocations: 0 / 408.6 MB, free: 9.559 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.2883, allocations: 0.834 MB / 409.4 MB, free: 8.691 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009394/0.2892, allocations: 232.8 kB / 409.6 MB, free: 8.465 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/0.3019, allocations: 8.963 MB / 418.6 MB, free: 15.28 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.3024, allocations: 0.9559 MB / 419.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004185/0.3028, allocations: 106.7 kB / 419.7 MB, free: 14.19 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003762/0.3032, allocations: 319.3 kB / 420 MB, free: 13.88 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3032, allocations: 0 / 420 MB, free: 13.88 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04187/0.3451, allocations: 24.52 MB / 444.5 MB, free: 5.785 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/0.3454, allocations: 248.5 kB / 444.7 MB, free: 5.523 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.347/2.692, allocations: 4 kB / 444.7 MB, free: 5.52 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches