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.001216/0.001215, allocations: 104.4 kB / 18.35 MB, free: 4.648 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.001216/0.001216, allocations: 191 kB / 19.29 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.418/1.418, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.00122/0.001221, allocations: 47.94 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07728/0.07852, allocations: 46.63 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.005522/0.08408, allocations: 5.184 MB / 333.9 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.08592, allocations: 1.368 MB / 335.3 MB, free: 13.16 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002505/0.08621, allocations: 11.94 kB / 335.3 MB, free: 13.15 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003651/0.08658, allocations: 174.5 kB / 335.5 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005198/0.08711, allocations: 325.1 kB / 335.8 MB, free: 12.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003927/0.08751, allocations: 239.6 kB / 336 MB, free: 12.43 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001036/0.08856, allocations: 1.238 MB / 337.3 MB, free: 11.18 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004181/0.08899, allocations: 342.1 kB / 337.6 MB, free: 10.84 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004037/0.0894, allocations: 466.4 kB / 338 MB, free: 10.38 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005231/0.08993, allocations: 0.5291 MB / 338.6 MB, free: 9.848 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.09007, allocations: 108 kB / 338.7 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.09023, allocations: 112 kB / 338.8 MB, free: 9.633 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001761/0.09041, allocations: 239.1 kB / 339 MB, free: 9.398 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004483/0.09087, allocations: 0.5405 MB / 339.6 MB, free: 8.855 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009569/0.09183, allocations: 1.257 MB / 340.8 MB, free: 7.594 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.09184, allocations: 0 / 340.8 MB, free: 7.594 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.09185, allocations: 0 / 340.8 MB, free: 7.594 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.09186, allocations: 0 / 340.8 MB, free: 7.594 MB / 286.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.002257/0.09413, allocations: 1.391 MB / 342.2 MB, free: 6.129 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.09417, allocations: 8.031 kB / 342.2 MB, free: 6.121 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.09434, allocations: 111.7 kB / 342.3 MB, free: 6.012 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009242/0.09527, allocations: 0.5948 MB / 342.9 MB, free: 5.379 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/0.09547, allocations: 147 kB / 343.1 MB, free: 5.219 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.329e-05/0.09557, allocations: 60.38 kB / 343.1 MB, free: 5.16 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.0969, allocations: 0.8862 MB / 344 MB, free: 4.172 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.09693, allocations: 4 kB / 344 MB, free: 4.168 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.261e-05/0.097, allocations: 32 kB / 344 MB, free: 4.137 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/0.09703, allocations: 12 kB / 344.1 MB, free: 4.125 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.09838, allocations: 0.6219 MB / 344.7 MB, free: 3.504 MB / 286.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.003139/0.1015, allocations: 2.178 MB / 346.9 MB, free: 1.219 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.1032, allocations: 1.006 MB / 347.9 MB, free: 152 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007773/0.104, allocations: 415.3 kB / 348.3 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.609e-05/0.1041, allocations: 20.62 kB / 348.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.1041, allocations: 47.2 kB / 348.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of pre-optimization done (n=77): time 2.144e-06/0.1041, allocations: 4 kB / 348.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=77): time 0.004766/0.1089, allocations: 1.835 MB / 350.2 MB, free: 13.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003637/0.1092, allocations: 0.8233 MB / 351 MB, free: 12.71 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007405/0.11, allocations: 0.6646 MB / 351.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.455e-05/0.1101, allocations: 45.7 kB / 351.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002774/0.1104, allocations: 345.1 kB / 352 MB, free: 11.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/0.1106, allocations: 272 kB / 352.3 MB, free: 11.37 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002389/0.1108, allocations: 150.7 kB / 352.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1109, allocations: 334 kB / 352.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006365/0.1116, allocations: 281.8 kB / 353.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008589/0.1124, allocations: 0.5624 MB / 353.6 MB, free: 9.945 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.1137, allocations: 0.7051 MB / 354.3 MB, free: 9.215 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1138, allocations: 0 / 354.3 MB, free: 9.215 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002479/0.1162, allocations: 1.122 MB / 355.4 MB, free: 8.059 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.347e-05/0.1163, allocations: 93.05 kB / 355.5 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1163, allocations: 4 kB / 355.5 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006527/0.117, allocations: 231.3 kB / 355.8 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006683/0.1177, allocations: 147.8 kB / 355.9 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007407/0.1251, allocations: 6.927 MB / 362.8 MB, free: 68 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008852/0.126, allocations: 103.4 kB / 362.9 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.757e-05/0.1261, allocations: 28 kB / 363 MB, free: 15.94 MB / 318.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.0003838/0.1265, allocations: 229.6 kB / 363.2 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.1266, allocations: 94.91 kB / 363.3 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.1268, allocations: 96.53 kB / 363.4 MB, free: 15.51 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.1268, allocations: 8.188 kB / 363.4 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.1268, allocations: 4 kB / 363.4 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002438/0.1293, allocations: 1.264 MB / 364.7 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003672/0.133, allocations: 1.982 MB / 366.6 MB, free: 12.08 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.133, allocations: 7.984 kB / 366.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007071/0.1337, allocations: 143.8 kB / 366.8 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00053/0.1342, allocations: 198.6 kB / 367 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.785e-05/0.1343, allocations: 15.98 kB / 367 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005905/0.1402, allocations: 5.353 MB / 372.3 MB, free: 5.941 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1402, allocations: 0 / 372.3 MB, free: 5.941 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003132/0.1434, allocations: 1.438 MB / 373.8 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003881/0.1438, allocations: 251.8 kB / 374 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.1439, allocations: 20 kB / 374.1 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006361/0.1445, allocations: 55.89 kB / 374.1 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/0.1447, allocations: 60.56 kB / 374.2 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.461e-05/0.1447, allocations: 20 kB / 374.2 MB, free: 4.059 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005621/0.1453, allocations: 487 kB / 374.7 MB, free: 3.586 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1453, allocations: 0 / 374.7 MB, free: 3.586 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008303/0.1462, allocations: 287.7 kB / 374.9 MB, free: 3.305 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.0001593/0.1463, allocations: 127.1 kB / 375.1 MB, free: 3.168 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002122/0.1485, allocations: 1.375 MB / 376.4 MB, free: 1.703 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1485, allocations: 128 / 376.4 MB, free: 1.703 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001362/0.1498, allocations: 0.7847 MB / 377.2 MB, free: 0.875 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009305/0.1508, allocations: 239.9 kB / 377.5 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1308/0.2816, allocations: 1.636 MB / 379.1 MB, free: 52.7 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/0.2821, allocations: 0.9551 MB / 380 MB, free: 52 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005185/0.2826, allocations: 108.2 kB / 380.2 MB, free: 51.99 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.2828, allocations: 68.36 kB / 380.2 MB, free: 51.98 MB / 318.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2828, allocations: 1.406 kB / 380.2 MB, free: 51.98 MB / 318.1 MB Notification: Performance of Templates: time 0.02926/0.3121, allocations: 18.71 MB / 398.9 MB, free: 43.69 MB / 318.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 -s gbode -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