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: 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_3.2.3_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_3.2.3_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.001196/0.001197, allocations: 105.4 kB / 18.39 MB, free: 4.641 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.001395/0.001395, allocations: 189.1 kB / 19.33 MB, free: 3.715 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.505/1.505, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.001268/0.001268, allocations: 51.91 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1048, allocations: 46.62 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.2361/0.341, allocations: 5.176 MB / 381 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003412/0.3444, allocations: 1.378 MB / 382.4 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009888/0.3455, allocations: 13.56 kB / 382.4 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008249/0.3464, allocations: 173.6 kB / 382.6 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.3477, allocations: 332.1 kB / 382.9 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000863/0.3485, allocations: 236.1 kB / 383.1 MB, free: 9.336 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002232/0.3508, allocations: 1.228 MB / 384.3 MB, free: 9.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007096/0.3515, allocations: 346.6 kB / 384.7 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001127/0.3527, allocations: 472.2 kB / 385.1 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.3539, allocations: 0.5305 MB / 385.7 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004638/0.3544, allocations: 108.3 kB / 385.8 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007458/0.3551, allocations: 110.9 kB / 385.9 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003995/0.3555, allocations: 235.1 kB / 386.1 MB, free: 8.332 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001477/0.357, allocations: 0.5368 MB / 386.6 MB, free: 8.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002407/0.3594, allocations: 1.255 MB / 387.9 MB, free: 7.555 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.3595, allocations: 1.031 kB / 387.9 MB, free: 7.555 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.018e-06/0.3595, allocations: 0 / 387.9 MB, free: 7.555 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.209e-05/0.3595, allocations: 0 / 387.9 MB, free: 7.555 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.003917/0.3635, allocations: 1.383 MB / 389.3 MB, free: 6.613 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.3635, allocations: 9.125 kB / 389.3 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002485/0.3638, allocations: 122.7 kB / 389.4 MB, free: 6.555 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.365, allocations: 0.5974 MB / 390 MB, free: 6.137 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002007/0.3652, allocations: 146.5 kB / 390.2 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.3653, allocations: 66.22 kB / 390.2 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.3669, allocations: 0.8947 MB / 391.1 MB, free: 5.441 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.3669, allocations: 0 / 391.1 MB, free: 5.441 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.713e-05/0.367, allocations: 29.66 kB / 391.1 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.3671, allocations: 13.25 kB / 391.2 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/0.3687, allocations: 0.6256 MB / 391.8 MB, free: 5.227 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.003736/0.3725, allocations: 2.171 MB / 394 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.3742, allocations: 1.006 MB / 395 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008458/0.3751, allocations: 414.8 kB / 395.4 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.881e-05/0.3751, allocations: 21.92 kB / 395.4 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.3752, allocations: 46.41 kB / 395.4 MB, free: 3.191 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 3.587e-06/0.3752, allocations: 1.156 kB / 395.4 MB, free: 3.191 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.005326/0.3805, allocations: 1.832 MB / 397.3 MB, free: 2.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001634/0.3807, allocations: 0.8272 MB / 398.1 MB, free: 1.332 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008438/0.3815, allocations: 0.6695 MB / 398.8 MB, free: 1.035 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.83e-05/0.3816, allocations: 44.05 kB / 398.8 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002282/0.3819, allocations: 353.6 kB / 399.1 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002143/0.3821, allocations: 267.1 kB / 399.4 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002503/0.3824, allocations: 146.6 kB / 399.6 MB, free: 452 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.224e-05/0.3824, allocations: 332.5 kB / 399.9 MB, free: 128 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006592/0.3831, allocations: 286.7 kB / 400.2 MB, free: 28 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.3842, allocations: 0.5748 MB / 400.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.3857, allocations: 0.7077 MB / 401.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3857, allocations: 0 / 401.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002935/0.3886, allocations: 1.12 MB / 402.6 MB, free: 14.81 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.854e-05/0.3887, allocations: 90.45 kB / 402.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.3887, allocations: 1.25 kB / 402.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007839/0.3895, allocations: 231.2 kB / 402.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006991/0.3903, allocations: 152.8 kB / 403 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008816/0.3991, allocations: 6.932 MB / 410 MB, free: 8.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.4002, allocations: 103.8 kB / 410.1 MB, free: 7.984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.4003, allocations: 22.22 kB / 410.1 MB, free: 7.98 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.0005116/0.4008, allocations: 229.3 kB / 410.3 MB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/0.4011, allocations: 103.7 kB / 410.4 MB, free: 7.738 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/0.4014, allocations: 95.41 kB / 410.5 MB, free: 7.656 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.4014, allocations: 7.438 kB / 410.5 MB, free: 7.656 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.4014, allocations: 0 / 410.5 MB, free: 7.656 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002669/0.4041, allocations: 1.261 MB / 411.8 MB, free: 6.711 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004792/0.4089, allocations: 1.985 MB / 413.8 MB, free: 5.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.4089, allocations: 1.094 kB / 413.8 MB, free: 5.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007643/0.4097, allocations: 150.4 kB / 413.9 MB, free: 5.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005695/0.4102, allocations: 197.2 kB / 414.1 MB, free: 5.227 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.36e-05/0.4103, allocations: 21.14 kB / 414.1 MB, free: 5.211 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006999/0.4173, allocations: 5.344 MB / 419.5 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4173, allocations: 0 / 419.5 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003779/0.4211, allocations: 1.439 MB / 420.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006245/0.4218, allocations: 242.2 kB / 421.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002863/0.4221, allocations: 24.23 kB / 421.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008545/0.4229, allocations: 55.27 kB / 421.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/0.4231, allocations: 71.94 kB / 421.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.299e-05/0.4232, allocations: 21.75 kB / 421.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007957/0.424, allocations: 480.7 kB / 421.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.424, allocations: 0 / 421.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001299/0.4254, allocations: 280.1 kB / 422 MB, free: 14.76 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.0002116/0.4256, allocations: 133.3 kB / 422.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002626/0.4282, allocations: 1.383 MB / 423.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.4282, allocations: 0 / 423.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001418/0.4297, allocations: 0.7848 MB / 424.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.4311, allocations: 251.2 kB / 424.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003411/0.4345, allocations: 1.685 MB / 426.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006867/0.4352, allocations: 0.9559 MB / 427.2 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/0.4355, allocations: 75.42 kB / 427.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4355, allocations: 0 / 427.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of Templates: time 0.03091/0.4664, allocations: 23.49 MB / 450.8 MB, free: 1.949 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile (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 & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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