Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001046/0.001046, allocations: 106.7 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001114/0.001114, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 246.4 MB, free: 9.141 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 63.92 kB / 306.4 MB, free: 0.7383 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08768/0.08884, allocations: 50.53 MB / 357 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.00471/0.09359, allocations: 3.79 MB / 360.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.09541, allocations: 1.024 MB / 361.8 MB, free: 9.371 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003218/0.09576, allocations: 7.938 kB / 361.8 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003625/0.09615, allocations: 91.38 kB / 361.9 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005306/0.09669, allocations: 178.6 kB / 362.1 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000324/0.09703, allocations: 123.8 kB / 362.2 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008277/0.09786, allocations: 0.6925 MB / 362.9 MB, free: 8.281 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002941/0.09817, allocations: 207 kB / 363.1 MB, free: 8.074 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002519/0.09843, allocations: 267 kB / 363.3 MB, free: 7.812 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003085/0.09874, allocations: 310.7 kB / 363.6 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.755e-05/0.09883, allocations: 56 kB / 363.7 MB, free: 7.453 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.956e-05/0.09892, allocations: 67.94 kB / 363.8 MB, free: 7.387 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.09903, allocations: 123.6 kB / 363.9 MB, free: 7.266 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002706/0.09931, allocations: 326.4 kB / 364.2 MB, free: 6.945 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006125/0.09993, allocations: 0.7046 MB / 364.9 MB, free: 6.238 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.09994, allocations: 4 kB / 364.9 MB, free: 6.234 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.09995, allocations: 0 / 364.9 MB, free: 6.234 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.09996, allocations: 0 / 364.9 MB, free: 6.234 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001585/0.1016, allocations: 0.9131 MB / 365.8 MB, free: 5.262 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.1016, allocations: 8.031 kB / 365.8 MB, free: 5.254 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.1017, allocations: 68.19 kB / 365.9 MB, free: 5.188 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006345/0.1024, allocations: 446.7 kB / 366.3 MB, free: 4.711 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001982/0.1026, allocations: 87.22 kB / 366.4 MB, free: 4.621 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.877e-05/0.1027, allocations: 36.36 kB / 366.4 MB, free: 4.586 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009167/0.1036, allocations: 0.5138 MB / 367 MB, free: 4.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.1036, allocations: 0 / 367 MB, free: 4.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.302e-05/0.1037, allocations: 16 kB / 367 MB, free: 4.004 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.1037, allocations: 8 kB / 367 MB, free: 3.996 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009336/0.1046, allocations: 379.7 kB / 367.4 MB, free: 3.621 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.002006/0.1066, allocations: 1.351 MB / 368.7 MB, free: 2.176 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009306/0.1076, allocations: 464.6 kB / 369.2 MB, free: 1.691 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004709/0.1081, allocations: 212.8 kB / 369.4 MB, free: 1.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.499e-05/0.1081, allocations: 4 kB / 369.4 MB, free: 1.477 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.1081, allocations: 42.5 kB / 369.4 MB, free: 1.426 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.453e-06/0.1081, allocations: 0 / 369.4 MB, free: 1.426 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.00176/0.1099, allocations: 0.7821 MB / 370.2 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001811/0.1101, allocations: 445 kB / 370.6 MB, free: 56 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1508/0.2609, allocations: 480.2 kB / 371.1 MB, free: 20.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.261, allocations: 32.39 kB / 371.1 MB, free: 20.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.2612, allocations: 247.7 kB / 371.4 MB, free: 20.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.2613, allocations: 128 kB / 371.5 MB, free: 20.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.2615, allocations: 82.92 kB / 371.6 MB, free: 20.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.406e-05/0.2615, allocations: 360.5 kB / 371.9 MB, free: 19.99 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004637/0.262, allocations: 153.2 kB / 372.1 MB, free: 19.99 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005176/0.2625, allocations: 310.2 kB / 372.4 MB, free: 19.85 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008178/0.2634, allocations: 374.4 kB / 372.7 MB, free: 19.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.561e-05/0.2634, allocations: 1.375 kB / 372.7 MB, free: 19.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001147/0.2645, allocations: 0.5068 MB / 373.3 MB, free: 19.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.2646, allocations: 31.89 kB / 373.3 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.2646, allocations: 3.5 kB / 373.3 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001713/0.2648, allocations: 54.5 kB / 373.3 MB, free: 19.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004941/0.2653, allocations: 98.97 kB / 373.4 MB, free: 19.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/0.2673, allocations: 2.96 MB / 376.4 MB, free: 16.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004955/0.2678, allocations: 61.81 kB / 376.5 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-05/0.2678, allocations: 17.92 kB / 376.5 MB, free: 16.6 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002196/0.2681, allocations: 173.5 kB / 376.6 MB, free: 16.45 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.902e-05/0.2682, allocations: 59.62 kB / 376.7 MB, free: 16.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.2683, allocations: 56.08 kB / 376.8 MB, free: 16.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.2683, allocations: 5.359 kB / 376.8 MB, free: 16.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2683, allocations: 0 / 376.8 MB, free: 16.38 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001058/0.2694, allocations: 0.7701 MB / 377.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/0.2711, allocations: 1.078 MB / 378.6 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2711, allocations: 0 / 378.6 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005223/0.2716, allocations: 98.75 kB / 378.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.2716, allocations: 1.375 kB / 378.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.2716, allocations: 10.55 kB / 378.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.2717, allocations: 2.75 kB / 378.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2717, allocations: 7.766 kB / 378.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.2731, allocations: 0.7093 MB / 379.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.2733, allocations: 170.6 kB / 379.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.93e-05/0.2733, allocations: 6.562 kB / 379.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004066/0.2737, allocations: 44.28 kB / 379.7 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.773e-05/0.2739, allocations: 24.98 kB / 379.7 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.2739, allocations: 7.531 kB / 379.7 MB, free: 14.6 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003981/0.2743, allocations: 344.1 kB / 380 MB, free: 14.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.2743, allocations: 1.438 kB / 380 MB, free: 14.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005375/0.2748, allocations: 139.2 kB / 380.2 MB, free: 14.41 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001222/0.275, allocations: 109.1 kB / 380.3 MB, free: 14.31 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001393/0.2764, allocations: 0.6902 MB / 381 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.2764, allocations: 3.188 kB / 381 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004656/0.2769, allocations: 200 kB / 381.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007743/0.2776, allocations: 149.2 kB / 381.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.2795, allocations: 1.127 MB / 382.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.28, allocations: 0.8331 MB / 383.3 MB, free: 12.37 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000295/0.2803, allocations: 64.95 kB / 383.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.2804, allocations: 49.58 kB / 383.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2804, allocations: 0.9375 kB / 383.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of Templates: time 0.01584/0.2963, allocations: 8.842 MB / 392.2 MB, free: 9.516 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches