Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008983/0.0008984, allocations: 179.9 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.4 MB / 222.5 MB, free: 9.039 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007641/0.0007642, allocations: 93.11 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003617, allocations: 12 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2552, allocations: 47.58 MB / 374.5 MB, free: 45.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003252/0.2585, allocations: 3.234 MB / 377.8 MB, free: 42.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.2598, allocations: 0.9243 MB / 378.7 MB, free: 42.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002119/0.2601, allocations: 5.344 kB / 378.7 MB, free: 42.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000227/0.2603, allocations: 76.41 kB / 378.8 MB, free: 42.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000339/0.2606, allocations: 174.8 kB / 379 MB, free: 41.9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.2609, allocations: 95.84 kB / 379.1 MB, free: 41.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005487/0.2614, allocations: 0.6188 MB / 379.7 MB, free: 41.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002703/0.2617, allocations: 172.6 kB / 379.8 MB, free: 41.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002812/0.262, allocations: 233.2 kB / 380.1 MB, free: 41.22 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/0.2623, allocations: 267.5 kB / 380.3 MB, free: 41.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.215e-05/0.2624, allocations: 36.16 kB / 380.4 MB, free: 41.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.2625, allocations: 37.66 kB / 380.4 MB, free: 41.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.717e-05/0.2626, allocations: 106.6 kB / 380.5 MB, free: 40.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.2627, allocations: 134.9 kB / 380.6 MB, free: 40.87 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004217/0.2631, allocations: 0.5252 MB / 381.2 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2632, allocations: 1.219 kB / 381.2 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2632, allocations: 3.938 kB / 381.2 MB, free: 40.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.2632, allocations: 0 / 381.2 MB, free: 40.47 MB / 298.7 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.00136/0.2645, allocations: 0.8377 MB / 382 MB, free: 39.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.2646, allocations: 9.656 kB / 382 MB, free: 39.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.2647, allocations: 66.16 kB / 382.1 MB, free: 39.74 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006371/0.2654, allocations: 424.5 kB / 382.5 MB, free: 39.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002125/0.2656, allocations: 99.33 kB / 382.6 MB, free: 39.31 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.018e-05/0.2657, allocations: 35.06 kB / 382.6 MB, free: 39.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000859/0.2665, allocations: 0.5148 MB / 383.1 MB, free: 38.92 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.2666, allocations: 0 / 383.1 MB, free: 38.92 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.952e-05/0.2666, allocations: 17.62 kB / 383.2 MB, free: 38.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.2666, allocations: 12.41 kB / 383.2 MB, free: 38.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008794/0.2675, allocations: 403 kB / 383.6 MB, free: 38.73 MB / 298.7 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.001949/0.2695, allocations: 1.353 MB / 384.9 MB, free: 37.61 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009277/0.2704, allocations: 483 kB / 385.4 MB, free: 37.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004476/0.2709, allocations: 215.7 kB / 385.6 MB, free: 37.22 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.999e-05/0.2709, allocations: 8.078 kB / 385.6 MB, free: 37.22 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.271, allocations: 42.47 kB / 385.6 MB, free: 37.17 MB / 298.7 MB Notification: Performance of pre-optimization done (n=37): time 1.794e-06/0.271, allocations: 0.5625 kB / 385.6 MB, free: 37.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=37): time 0.001664/0.2726, allocations: 0.8144 MB / 386.5 MB, free: 36.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.72e-05/0.2727, allocations: 452.9 kB / 386.9 MB, free: 36.03 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003892/0.2731, allocations: 482 kB / 387.4 MB, free: 35.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.2732, allocations: 33.7 kB / 387.4 MB, free: 35.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.2733, allocations: 236.5 kB / 387.6 MB, free: 35.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.069e-05/0.2734, allocations: 130 kB / 387.8 MB, free: 35.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.797e-05/0.2734, allocations: 8 kB / 387.8 MB, free: 35.13 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.556e-05/0.2735, allocations: 362.8 kB / 388.1 MB, free: 34.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000378/0.2739, allocations: 163.9 kB / 388.3 MB, free: 34.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004398/0.2743, allocations: 322.1 kB / 388.6 MB, free: 34.24 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/0.2747, allocations: 213.4 kB / 388.8 MB, free: 34.03 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-06/0.2748, allocations: 0 / 388.8 MB, free: 34.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000921/0.2757, allocations: 0.535 MB / 389.3 MB, free: 33.47 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.2757, allocations: 29.7 kB / 389.4 MB, free: 33.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2757, allocations: 0 / 389.4 MB, free: 33.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001566/0.2759, allocations: 53.69 kB / 389.4 MB, free: 33.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004131/0.2763, allocations: 103.8 kB / 389.5 MB, free: 33.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/0.2779, allocations: 2.732 MB / 392.3 MB, free: 30.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004724/0.2784, allocations: 67.78 kB / 392.3 MB, free: 30.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.2784, allocations: 16 kB / 392.3 MB, free: 30.2 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001698/0.2786, allocations: 169.8 kB / 392.5 MB, free: 30.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.228e-05/0.2787, allocations: 59.34 kB / 392.6 MB, free: 29.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.934e-05/0.2788, allocations: 64.83 kB / 392.6 MB, free: 29.9 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.2788, allocations: 7.938 kB / 392.6 MB, free: 29.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.2788, allocations: 0 / 392.6 MB, free: 29.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008242/0.2796, allocations: 0.7739 MB / 393.4 MB, free: 29.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.2811, allocations: 1.106 MB / 394.5 MB, free: 27.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2811, allocations: 4 kB / 394.5 MB, free: 27.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000466/0.2816, allocations: 99.88 kB / 394.6 MB, free: 27.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2816, allocations: 4 kB / 394.6 MB, free: 27.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.2816, allocations: 11.98 kB / 394.6 MB, free: 27.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2816, allocations: 4 kB / 394.6 MB, free: 27.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2816, allocations: 0 / 394.6 MB, free: 27.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.2828, allocations: 0.7332 MB / 395.4 MB, free: 26.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.283, allocations: 168.4 kB / 395.5 MB, free: 26.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.042e-05/0.2831, allocations: 12 kB / 395.5 MB, free: 26.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000381/0.2835, allocations: 43.94 kB / 395.6 MB, free: 26.74 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.928e-05/0.2835, allocations: 31.89 kB / 395.6 MB, free: 26.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.2836, allocations: 12 kB / 395.6 MB, free: 26.7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003085/0.2839, allocations: 330.9 kB / 396 MB, free: 26.38 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2839, allocations: 0 / 396 MB, free: 26.38 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004184/0.2843, allocations: 147.8 kB / 396.1 MB, free: 26.23 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001298/0.2844, allocations: 103.4 kB / 396.2 MB, free: 26.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.2855, allocations: 0.6996 MB / 396.9 MB, free: 25.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2856, allocations: 0 / 396.9 MB, free: 25.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003846/0.2859, allocations: 212.2 kB / 397.1 MB, free: 25.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000671/0.2866, allocations: 147.5 kB / 397.3 MB, free: 25.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.2881, allocations: 1.176 MB / 398.4 MB, free: 23.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.2883, allocations: 0.8354 MB / 399.3 MB, free: 22.96 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.2884, allocations: 47.42 kB / 399.3 MB, free: 22.91 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2884, allocations: 4 kB / 399.3 MB, free: 22.91 MB / 298.7 MB Notification: Performance of Templates: time 0.008555/0.297, allocations: 9.108 MB / 408.4 MB, free: 13.82 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches