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.001071/0.001071, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001245/0.001245, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001182, allocations: 67.88 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2624, allocations: 50.53 MB / 408.8 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.005668/0.2681, allocations: 5.202 MB / 414 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.2703, allocations: 1.376 MB / 415.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000274/0.2706, allocations: 8 kB / 415.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003989/0.271, allocations: 166.5 kB / 415.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000577/0.2716, allocations: 329.1 kB / 415.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004142/0.2721, allocations: 247.6 kB / 416.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001098/0.2732, allocations: 1.222 MB / 417.3 MB, free: 8.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004277/0.2736, allocations: 338.1 kB / 417.6 MB, free: 8.633 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004346/0.274, allocations: 482.3 kB / 418.1 MB, free: 8.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005402/0.2746, allocations: 0.5252 MB / 418.6 MB, free: 7.633 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.2747, allocations: 108 kB / 418.7 MB, free: 7.527 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.2749, allocations: 112 kB / 418.8 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.2751, allocations: 239.2 kB / 419.1 MB, free: 7.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004275/0.2755, allocations: 0.5327 MB / 419.6 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009881/0.2765, allocations: 1.261 MB / 420.9 MB, free: 5.383 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2765, allocations: 0 / 420.9 MB, free: 5.383 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2765, allocations: 0 / 420.9 MB, free: 5.383 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.2765, allocations: 0 / 420.9 MB, free: 5.383 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.002377/0.2789, allocations: 1.387 MB / 422.2 MB, free: 3.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.279, allocations: 8.031 kB / 422.3 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001739/0.2792, allocations: 123.8 kB / 422.4 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.2793, allocations: 111.7 kB / 422.5 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009718/0.2803, allocations: 0.6027 MB / 423.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002074/0.2805, allocations: 150.9 kB / 423.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.751e-05/0.2806, allocations: 72.28 kB / 423.3 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/0.282, allocations: 0.9016 MB / 424.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.2821, allocations: 0 / 424.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.978e-05/0.2822, allocations: 32 kB / 424.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.2822, allocations: 16 kB / 424.3 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/0.2836, allocations: 0.6375 MB / 424.9 MB, free: 1.105 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.003188/0.2868, allocations: 2.197 MB / 427.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/0.2885, allocations: 1.012 MB / 428.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008059/0.2893, allocations: 415.2 kB / 428.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.213e-05/0.2894, allocations: 24.56 kB / 428.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.2894, allocations: 43.22 kB / 428.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 1.833e-06/0.2894, allocations: 4 kB / 428.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.004854/0.2943, allocations: 1.836 MB / 430.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003279/0.2946, allocations: 0.8234 MB / 431.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007664/0.2954, allocations: 0.6608 MB / 431.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.047e-05/0.2955, allocations: 45.7 kB / 431.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/0.2958, allocations: 360.9 kB / 432.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002114/0.296, allocations: 264.1 kB / 432.5 MB, free: 8.961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002568/0.2963, allocations: 154.6 kB / 432.7 MB, free: 8.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.2964, allocations: 330 kB / 433 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006903/0.2971, allocations: 287.6 kB / 433.3 MB, free: 8.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008973/0.298, allocations: 0.5586 MB / 433.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.2993, allocations: 0.7051 MB / 434.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2994, allocations: 0 / 434.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00258/0.3019, allocations: 1.129 MB / 435.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.182e-05/0.302, allocations: 89.11 kB / 435.8 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.302, allocations: 0 / 435.8 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006805/0.3027, allocations: 239.2 kB / 436 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006303/0.3034, allocations: 147.8 kB / 436.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007279/0.3107, allocations: 6.919 MB / 443.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007873/0.3115, allocations: 103.4 kB / 443.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.371e-05/0.3115, allocations: 31.92 kB / 443.2 MB, free: 13.53 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.0003144/0.3119, allocations: 221.7 kB / 443.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.312, allocations: 94.91 kB / 443.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.3122, allocations: 96.53 kB / 443.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.3122, allocations: 8 kB / 443.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.485e-06/0.3122, allocations: 3.984 kB / 443.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002358/0.3146, allocations: 1.268 MB / 444.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003702/0.3183, allocations: 1.99 MB / 446.9 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.3183, allocations: 0 / 446.9 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006981/0.319, allocations: 152 kB / 447 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000527/0.3196, allocations: 194.4 kB / 447.2 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.599e-05/0.3196, allocations: 16 kB / 447.2 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006145/0.3258, allocations: 5.353 MB / 452.6 MB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.3258, allocations: 3.938 kB / 452.6 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003207/0.329, allocations: 1.434 MB / 454 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004145/0.3294, allocations: 251.8 kB / 454.3 MB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.3296, allocations: 20 kB / 454.3 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006789/0.3303, allocations: 51.94 kB / 454.3 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.3305, allocations: 64.56 kB / 454.4 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.333e-05/0.3305, allocations: 20 kB / 454.4 MB, free: 1.633 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005575/0.3311, allocations: 479 kB / 454.9 MB, free: 1.172 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3311, allocations: 0 / 454.9 MB, free: 1.172 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000882/0.332, allocations: 287.7 kB / 455.2 MB, free: 0.8906 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.00356/0.3355, allocations: 2.025 MB / 457.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002325/0.3379, allocations: 1.383 MB / 458.6 MB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.3379, allocations: 0 / 458.6 MB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001374/0.3393, allocations: 0.7847 MB / 459.4 MB, free: 12.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.3405, allocations: 241.3 kB / 459.6 MB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01309/0.3536, allocations: 7.795 MB / 467.4 MB, free: 4.328 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005041/0.3541, allocations: 0.9636 MB / 468.4 MB, free: 3.332 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004972/0.3546, allocations: 110.7 kB / 468.5 MB, free: 3.219 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004159/0.355, allocations: 315.3 kB / 468.8 MB, free: 2.91 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3551, allocations: 0 / 468.8 MB, free: 2.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0614/0.4165, allocations: 27.26 MB / 496 MB, free: 8.051 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.08, allocations: 11.94 kB / 496.1 MB, free: 8.039 MB / 414.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