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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 114 kB / 17.73 MB, free: 5.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 183 kB / 18.66 MB, free: 4.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.243/1.243, allocations: 205.1 MB / 224.5 MB, free: 12.2 MB / 190.1 MB 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.001337/0.001337, allocations: 51.94 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08245/0.08379, allocations: 46.62 MB / 374.6 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.1856/0.2694, allocations: 5.179 MB / 379.8 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002692/0.2722, allocations: 1.382 MB / 381.2 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004057/0.2726, allocations: 12.16 kB / 381.2 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004252/0.2731, allocations: 168.7 kB / 381.4 MB, free: 9.031 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000579/0.2737, allocations: 340 kB / 381.7 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004711/0.2742, allocations: 233.6 kB / 381.9 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001176/0.2754, allocations: 1.233 MB / 383.2 MB, free: 8.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005613/0.2759, allocations: 347.9 kB / 383.5 MB, free: 8.504 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005529/0.2765, allocations: 472.6 kB / 384 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005717/0.2771, allocations: 0.5237 MB / 384.5 MB, free: 8.145 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001514/0.2772, allocations: 108.2 kB / 384.6 MB, free: 8.145 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.2774, allocations: 110.5 kB / 384.7 MB, free: 8.145 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.2776, allocations: 234.5 kB / 384.9 MB, free: 7.992 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004653/0.2781, allocations: 0.5435 MB / 385.5 MB, free: 7.676 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.2794, allocations: 1.256 MB / 386.7 MB, free: 7.207 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2794, allocations: 0 / 386.7 MB, free: 7.207 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.2795, allocations: 0.8438 kB / 386.7 MB, free: 7.207 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.844e-05/0.2795, allocations: 0 / 386.7 MB, free: 7.207 MB / 318.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.002452/0.2819, allocations: 1.386 MB / 388.1 MB, free: 6.262 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.282, allocations: 9.938 kB / 388.1 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001897/0.2822, allocations: 126.1 kB / 388.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.2824, allocations: 113.5 kB / 388.4 MB, free: 6.117 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.2834, allocations: 0.6047 MB / 389 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00018/0.2836, allocations: 144.4 kB / 389.1 MB, free: 5.582 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.2837, allocations: 63.69 kB / 389.2 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.2851, allocations: 0.9073 MB / 390.1 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.2851, allocations: 1.156 kB / 390.1 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.616e-05/0.2852, allocations: 28.66 kB / 390.1 MB, free: 4.988 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.2852, allocations: 14.72 kB / 390.1 MB, free: 4.988 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.2866, allocations: 0.6388 MB / 390.8 MB, free: 4.785 MB / 318.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.003385/0.29, allocations: 2.201 MB / 393 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.2916, allocations: 1.01 MB / 394 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008192/0.2924, allocations: 418 kB / 394.4 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.951e-05/0.2925, allocations: 14.47 kB / 394.4 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.2925, allocations: 51.17 kB / 394.4 MB, free: 2.738 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 2.525e-06/0.2925, allocations: 0 / 394.4 MB, free: 2.738 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.004965/0.2975, allocations: 1.839 MB / 396.3 MB, free: 1.883 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/0.2976, allocations: 0.8231 MB / 397.1 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007536/0.2984, allocations: 0.668 MB / 397.8 MB, free: 0.582 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.549e-05/0.2985, allocations: 45.52 kB / 397.8 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000207/0.2987, allocations: 357.3 kB / 398.2 MB, free: 268 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000194/0.2989, allocations: 267.5 kB / 398.4 MB, free: 56 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002402/0.2992, allocations: 147.3 kB / 398.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.2993, allocations: 339.5 kB / 398.9 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006379/0.2999, allocations: 284 kB / 399.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008565/0.3008, allocations: 0.5608 MB / 399.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.3022, allocations: 0.7016 MB / 400.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.3022, allocations: 1.125 kB / 400.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002631/0.3049, allocations: 1.125 MB / 401.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.832e-05/0.305, allocations: 85.55 kB / 401.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.305, allocations: 1.062 kB / 401.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000661/0.3056, allocations: 231.8 kB / 401.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000682/0.3063, allocations: 151 kB / 402 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007688/0.314, allocations: 6.938 MB / 409 MB, free: 7.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000998/0.3151, allocations: 99.98 kB / 409.1 MB, free: 7.484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.908e-05/0.3151, allocations: 25.22 kB / 409.1 MB, free: 7.477 MB / 334.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.0003923/0.3155, allocations: 242.6 kB / 409.3 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.3157, allocations: 95.14 kB / 409.4 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001755/0.3159, allocations: 95 kB / 409.5 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.3159, allocations: 8.781 kB / 409.5 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.3159, allocations: 1 kB / 409.5 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002401/0.3183, allocations: 1.26 MB / 410.8 MB, free: 6.203 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003855/0.3222, allocations: 1.989 MB / 412.8 MB, free: 4.867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3222, allocations: 0 / 412.8 MB, free: 4.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007096/0.3229, allocations: 146.2 kB / 412.9 MB, free: 4.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005144/0.3234, allocations: 201 kB / 413.1 MB, free: 4.723 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.745e-05/0.3235, allocations: 17.44 kB / 413.1 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006225/0.3297, allocations: 5.346 MB / 418.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3297, allocations: 0 / 418.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003378/0.3331, allocations: 1.451 MB / 419.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005205/0.3337, allocations: 249.5 kB / 420.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.3338, allocations: 19.84 kB / 420.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006536/0.3345, allocations: 52.7 kB / 420.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001928/0.3347, allocations: 71.06 kB / 420.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.09e-05/0.3347, allocations: 21.8 kB / 420.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006429/0.3354, allocations: 475.7 kB / 420.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3354, allocations: 1.25 kB / 420.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001078/0.3365, allocations: 289.9 kB / 421.1 MB, free: 14.22 MB / 350.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.003497/0.34, allocations: 2.014 MB / 423.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002316/0.3423, allocations: 1.383 MB / 424.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3423, allocations: 4.125 kB / 424.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001379/0.3437, allocations: 0.783 MB / 425.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.3448, allocations: 249.6 kB / 425.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/0.3577, allocations: 7.78 MB / 433.3 MB, free: 2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005695/0.3583, allocations: 0.9598 MB / 434.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005347/0.3589, allocations: 110.7 kB / 434.4 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004022/0.3593, allocations: 319.3 kB / 434.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of SimCode: time 1.453e-06/0.3593, allocations: 0 / 434.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05946/0.4188, allocations: 27.25 MB / 461.9 MB, free: 5.246 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/12.88, allocations: 15.66 kB / 461.9 MB, free: 5.23 MB / 382.1 MB (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 --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) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches