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) 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 4.0.0+maint.om/package.mo", uses=false) 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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 107.9 kB / 17.06 MB, free: 6.004 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.001619/0.001619, allocations: 191 kB / 18 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009809/0.000981, allocations: 51.92 kB / 351.3 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2454, allocations: 49.43 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.005567/0.251, allocations: 5.212 MB / 405.9 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002146/0.2532, allocations: 1.324 MB / 407.3 MB, free: 2.336 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000288/0.2535, allocations: 16 kB / 407.3 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003895/0.2539, allocations: 170.5 kB / 407.4 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005666/0.2545, allocations: 337.1 kB / 407.8 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004105/0.2549, allocations: 235.6 kB / 408 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001105/0.256, allocations: 1.229 MB / 409.2 MB, free: 364 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004601/0.2565, allocations: 338.1 kB / 409.6 MB, free: 4 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005153/0.257, allocations: 474.5 kB / 410 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005432/0.2575, allocations: 0.5252 MB / 410.5 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.2577, allocations: 108 kB / 410.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001844/0.2579, allocations: 108 kB / 410.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.2581, allocations: 235.2 kB / 411 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004744/0.2586, allocations: 0.5444 MB / 411.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.2596, allocations: 1.26 MB / 412.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2596, allocations: 4 kB / 412.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2596, allocations: 0 / 412.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.2596, allocations: 0 / 412.8 MB, free: 12.75 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.002241/0.2619, allocations: 1.418 MB / 414.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.2619, allocations: 8.031 kB / 414.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001759/0.2621, allocations: 116.3 kB / 414.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009186/0.263, allocations: 0.6032 MB / 414.9 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000183/0.2632, allocations: 147 kB / 415.1 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.243e-05/0.2633, allocations: 64.38 kB / 415.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.2647, allocations: 0.894 MB / 416 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.2648, allocations: 0 / 416 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.599e-05/0.2648, allocations: 28 kB / 416.1 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.2649, allocations: 16 kB / 416.1 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.2663, allocations: 0.6336 MB / 416.7 MB, free: 8.598 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.003204/0.2695, allocations: 2.171 MB / 418.9 MB, free: 6.324 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.2712, allocations: 1.007 MB / 419.9 MB, free: 5.258 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008202/0.2721, allocations: 419.2 kB / 420.3 MB, free: 4.844 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.545e-05/0.2721, allocations: 16.62 kB / 420.3 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/0.2722, allocations: 51.22 kB / 420.4 MB, free: 4.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=77): time 2.094e-06/0.2722, allocations: 3.938 kB / 420.4 MB, free: 4.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=77): time 0.00503/0.2772, allocations: 1.828 MB / 422.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003255/0.2776, allocations: 0.8311 MB / 423 MB, free: 1.816 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007709/0.2784, allocations: 0.6763 MB / 423.7 MB, free: 1.133 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.613e-05/0.2784, allocations: 45.7 kB / 423.7 MB, free: 1.082 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/0.2787, allocations: 353.4 kB / 424.1 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002023/0.2789, allocations: 281.5 kB / 424.4 MB, free: 468 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/0.2791, allocations: 146.7 kB / 424.5 MB, free: 316 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.2793, allocations: 333.9 kB / 424.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006635/0.28, allocations: 285.8 kB / 425.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009199/0.2809, allocations: 0.5624 MB / 425.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.2823, allocations: 0.6974 MB / 426.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.2823, allocations: 0 / 426.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002605/0.2849, allocations: 1.13 MB / 427.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.889e-05/0.285, allocations: 85.09 kB / 427.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.285, allocations: 3.938 kB / 427.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006892/0.2857, allocations: 231.3 kB / 427.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006439/0.2863, allocations: 151.8 kB / 428 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007597/0.294, allocations: 6.932 MB / 434.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009015/0.2949, allocations: 103.5 kB / 435 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-05/0.2949, allocations: 24 kB / 435 MB, free: 5.031 MB / 350.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.0003348/0.2953, allocations: 221.8 kB / 435.2 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/0.2955, allocations: 99.38 kB / 435.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001868/0.2957, allocations: 96.75 kB / 435.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.2957, allocations: 8 kB / 435.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.2957, allocations: 0 / 435.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002433/0.2981, allocations: 1.272 MB / 436.7 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003695/0.3018, allocations: 1.982 MB / 438.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3018, allocations: 0 / 438.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000711/0.3026, allocations: 151.8 kB / 438.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005272/0.3031, allocations: 206.3 kB / 439 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.533e-05/0.3032, allocations: 12 kB / 439.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006144/0.3093, allocations: 5.35 MB / 444.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3093, allocations: 0 / 444.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003238/0.3126, allocations: 1.439 MB / 445.8 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003643/0.313, allocations: 252.3 kB / 446.1 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.3131, allocations: 24 kB / 446.1 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000672/0.3138, allocations: 55.88 kB / 446.2 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/0.3139, allocations: 64.56 kB / 446.2 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.465e-05/0.314, allocations: 20 kB / 446.2 MB, free: 9.129 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005724/0.3146, allocations: 475 kB / 446.7 MB, free: 8.672 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3146, allocations: 0 / 446.7 MB, free: 8.672 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008393/0.3154, allocations: 287.8 kB / 447 MB, free: 8.391 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.0001739/0.3156, allocations: 131.6 kB / 447.1 MB, free: 8.254 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00231/0.3179, allocations: 1.383 MB / 448.5 MB, free: 6.789 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3179, allocations: 0 / 448.5 MB, free: 6.789 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001381/0.3193, allocations: 0.7886 MB / 449.3 MB, free: 5.965 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009652/0.3203, allocations: 242.9 kB / 449.5 MB, free: 5.723 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002859/0.3232, allocations: 1.675 MB / 451.2 MB, free: 4.012 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005523/0.3237, allocations: 0.952 MB / 452.2 MB, free: 3.035 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004272/0.3242, allocations: 114.6 kB / 452.3 MB, free: 2.918 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/0.3244, allocations: 67.44 kB / 452.3 MB, free: 2.852 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3244, allocations: 0 / 452.3 MB, free: 2.852 MB / 366.1 MB Notification: Performance of Templates: time 0.03193/0.3563, allocations: 18.88 MB / 471.2 MB, free: 256 kB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile (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 & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches