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.001014/0.001014, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001112/0.001112, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.748/1.748, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 56.19 kB / 307 MB, free: 0.5469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1031, allocations: 50.54 MB / 357.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.007361/0.1105, allocations: 5.21 MB / 362.8 MB, free: 8.773 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003238/0.1138, allocations: 1.363 MB / 364.2 MB, free: 7.402 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/0.115, allocations: 8 kB / 364.2 MB, free: 7.395 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008904/0.116, allocations: 170.5 kB / 364.3 MB, free: 7.227 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001538/0.1175, allocations: 329.1 kB / 364.6 MB, free: 6.902 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008663/0.1184, allocations: 247.6 kB / 364.9 MB, free: 6.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002119/0.1205, allocations: 1.215 MB / 366.1 MB, free: 5.441 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005821/0.1211, allocations: 354 kB / 366.4 MB, free: 5.082 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007834/0.1219, allocations: 470.3 kB / 366.9 MB, free: 4.621 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.123, allocations: 0.5252 MB / 367.4 MB, free: 4.094 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003033/0.1233, allocations: 112 kB / 367.5 MB, free: 3.984 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003424/0.1236, allocations: 112 kB / 367.7 MB, free: 3.875 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002544/0.1239, allocations: 231.2 kB / 367.9 MB, free: 3.648 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008568/0.1248, allocations: 0.5405 MB / 368.4 MB, free: 3.105 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.1261, allocations: 1.226 MB / 369.6 MB, free: 1.875 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.1262, allocations: 0 / 369.6 MB, free: 1.875 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1262, allocations: 0 / 369.6 MB, free: 1.875 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.56e-05/0.1262, allocations: 4 kB / 369.6 MB, free: 1.871 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.002841/0.1291, allocations: 1.387 MB / 371 MB, free: 420 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.1291, allocations: 15.97 kB / 371.1 MB, free: 404 kB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002022/0.1293, allocations: 123.9 kB / 371.2 MB, free: 272 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002559/0.1296, allocations: 119.6 kB / 371.3 MB, free: 152 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1799/0.3095, allocations: 0.5965 MB / 371.9 MB, free: 19.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003687/0.3099, allocations: 168 kB / 372 MB, free: 19.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.3101, allocations: 67.2 kB / 372.1 MB, free: 19.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.3119, allocations: 0.9169 MB / 373 MB, free: 19.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.3119, allocations: 0.9688 kB / 373 MB, free: 19.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-05/0.312, allocations: 27.78 kB / 373.1 MB, free: 19.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/0.312, allocations: 19.16 kB / 373.1 MB, free: 19.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/0.3137, allocations: 0.663 MB / 373.7 MB, free: 19.23 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.003677/0.3174, allocations: 2.217 MB / 376 MB, free: 18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.319, allocations: 1.021 MB / 377 MB, free: 17.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008125/0.3198, allocations: 432.3 kB / 377.4 MB, free: 17.26 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.126e-05/0.3199, allocations: 15.41 kB / 377.4 MB, free: 17.26 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.3199, allocations: 50.62 kB / 377.5 MB, free: 17.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=77): time 2.284e-06/0.3199, allocations: 5.375 kB / 377.5 MB, free: 17.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=77): time 0.004948/0.3249, allocations: 1.869 MB / 379.3 MB, free: 16.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/0.3251, allocations: 0.8223 MB / 380.2 MB, free: 15.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007494/0.3258, allocations: 0.6686 MB / 380.8 MB, free: 15.06 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.878e-05/0.3259, allocations: 44.8 kB / 380.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.3261, allocations: 357.6 kB / 381.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.3262, allocations: 261.1 kB / 381.5 MB, free: 14.53 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/0.3265, allocations: 150.6 kB / 381.6 MB, free: 14.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.127e-05/0.3266, allocations: 341.1 kB / 382 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006884/0.3272, allocations: 292 kB / 382.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008468/0.3281, allocations: 0.5834 MB / 382.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.3295, allocations: 0.728 MB / 383.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3295, allocations: 1.031 kB / 383.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002576/0.3321, allocations: 1.148 MB / 384.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.422e-05/0.3321, allocations: 85.64 kB / 384.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.3321, allocations: 1.281 kB / 384.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006475/0.3328, allocations: 238.9 kB / 385 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006555/0.3334, allocations: 153.7 kB / 385.2 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008459/0.3419, allocations: 6.938 MB / 392.1 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.3434, allocations: 110.8 kB / 392.2 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.956e-05/0.3435, allocations: 22.56 kB / 392.2 MB, free: 6.215 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.0003419/0.3438, allocations: 227.9 kB / 392.5 MB, free: 6.031 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.344, allocations: 91.72 kB / 392.6 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.3441, allocations: 97.47 kB / 392.6 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.3442, allocations: 7.969 kB / 392.7 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.3442, allocations: 0.8906 kB / 392.7 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002466/0.3466, allocations: 1.288 MB / 393.9 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003634/0.3503, allocations: 2.022 MB / 396 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3503, allocations: 0 / 396 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007062/0.351, allocations: 161.5 kB / 396.1 MB, free: 3.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005176/0.3515, allocations: 193.7 kB / 396.3 MB, free: 3.719 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.074e-05/0.3516, allocations: 19.61 kB / 396.3 MB, free: 3.703 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005636/0.3573, allocations: 5.355 MB / 401.7 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3573, allocations: 0 / 401.7 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003581/0.3609, allocations: 1.483 MB / 403.2 MB, free: 13.83 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004146/0.3613, allocations: 251.9 kB / 403.4 MB, free: 13.6 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.3614, allocations: 18.88 kB / 403.4 MB, free: 13.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006626/0.3621, allocations: 65.97 kB / 403.5 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/0.3623, allocations: 67.88 kB / 403.6 MB, free: 13.51 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-05/0.3623, allocations: 16.53 kB / 403.6 MB, free: 13.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006686/0.363, allocations: 481.9 kB / 404.1 MB, free: 13.23 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.363, allocations: 0 / 404.1 MB, free: 13.23 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009205/0.3639, allocations: 301.1 kB / 404.3 MB, free: 13.18 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.003431/0.3674, allocations: 2.046 MB / 406.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002578/0.37, allocations: 1.434 MB / 407.8 MB, free: 10.53 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.37, allocations: 7.281 kB / 407.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001403/0.3714, allocations: 0.7965 MB / 408.6 MB, free: 9.688 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000969/0.3724, allocations: 242.1 kB / 408.9 MB, free: 9.457 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/0.3855, allocations: 8.403 MB / 417.3 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006382/0.3861, allocations: 0.9559 MB / 418.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005663/0.3867, allocations: 110.7 kB / 418.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004477/0.3872, allocations: 315.3 kB / 418.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of SimCode: time 2.585e-06/0.3872, allocations: 0 / 418.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0669/0.4541, allocations: 26.31 MB / 444.9 MB, free: 5.531 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.11, allocations: 7.922 kB / 445 MB, free: 5.523 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