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.003186/0.003192, allocations: 182.6 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.319/3.319, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001961/0.001961, allocations: 88.38 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006533/0.0006536, allocations: 8 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6023/0.603, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.007302/0.6104, allocations: 2.989 MB / 377.5 MB, free: 43.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00372/0.6142, allocations: 0.9576 MB / 378.5 MB, free: 42.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007454/0.615, allocations: 9.219 kB / 378.5 MB, free: 42.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005583/0.6156, allocations: 75.84 kB / 378.6 MB, free: 42.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001499/0.6171, allocations: 213.8 kB / 378.8 MB, free: 42.08 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007734/0.6179, allocations: 101.4 kB / 378.9 MB, free: 42 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002031/0.62, allocations: 479.6 kB / 379.3 MB, free: 41.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007302/0.6208, allocations: 168.8 kB / 379.5 MB, free: 41.61 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008166/0.6217, allocations: 220.1 kB / 379.7 MB, free: 41.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007021/0.6224, allocations: 250.7 kB / 380 MB, free: 41.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001777/0.6226, allocations: 33.31 kB / 380 MB, free: 41.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002437/0.6229, allocations: 33.03 kB / 380 MB, free: 41.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001757/0.6231, allocations: 110.4 kB / 380.1 MB, free: 41.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003315/0.6234, allocations: 135.3 kB / 380.3 MB, free: 41.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.6247, allocations: 0.4962 MB / 380.8 MB, free: 40.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.6247, allocations: 1.344 kB / 380.8 MB, free: 40.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.867e-06/0.6248, allocations: 0 / 380.8 MB, free: 40.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.037e-05/0.6248, allocations: 0 / 380.8 MB, free: 40.79 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.003759/0.6286, allocations: 0.8405 MB / 381.6 MB, free: 40.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.346e-05/0.6287, allocations: 8.75 kB / 381.6 MB, free: 40.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003711/0.6291, allocations: 66.69 kB / 381.7 MB, free: 40.06 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/0.6307, allocations: 398.3 kB / 382.1 MB, free: 39.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004801/0.6312, allocations: 87.36 kB / 382.2 MB, free: 39.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/0.6314, allocations: 35.73 kB / 382.2 MB, free: 39.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/0.6338, allocations: 0.5156 MB / 382.7 MB, free: 39.26 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.754e-05/0.6339, allocations: 0 / 382.7 MB, free: 39.26 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.634, allocations: 16.81 kB / 382.7 MB, free: 39.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/0.634, allocations: 7.969 kB / 382.7 MB, free: 39.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002477/0.6365, allocations: 403.5 kB / 383.1 MB, free: 39.07 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.005475/0.6421, allocations: 1.33 MB / 384.4 MB, free: 37.97 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002969/0.6451, allocations: 0.5106 MB / 385 MB, free: 37.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/0.6453, allocations: 17.17 kB / 385 MB, free: 37.67 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.425e-05/0.6454, allocations: 38.41 kB / 385 MB, free: 37.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=37): time 5.32e-06/0.6454, allocations: 0 / 385 MB, free: 37.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=37): time 0.00479/0.6502, allocations: 0.8069 MB / 385.8 MB, free: 37.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001995/0.6505, allocations: 450.5 kB / 386.3 MB, free: 36.58 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.6516, allocations: 451.4 kB / 386.7 MB, free: 36.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001972/0.6519, allocations: 33.7 kB / 386.7 MB, free: 36.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/0.6522, allocations: 278.9 kB / 387 MB, free: 35.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/0.6524, allocations: 130 kB / 387.1 MB, free: 35.76 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.844e-05/0.6525, allocations: 8 kB / 387.1 MB, free: 35.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.6526, allocations: 326.8 kB / 387.5 MB, free: 35.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.6537, allocations: 163.9 kB / 387.6 MB, free: 35.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/0.6551, allocations: 310.2 kB / 387.9 MB, free: 34.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.6563, allocations: 217.3 kB / 388.1 MB, free: 34.69 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.6563, allocations: 0 / 388.1 MB, free: 34.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002703/0.659, allocations: 0.4925 MB / 388.6 MB, free: 34.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.243e-05/0.6592, allocations: 37.69 kB / 388.7 MB, free: 34.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.6592, allocations: 3.938 kB / 388.7 MB, free: 34.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00033/0.6596, allocations: 45.7 kB / 388.7 MB, free: 34.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.6607, allocations: 107.8 kB / 388.8 MB, free: 33.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004249/0.665, allocations: 2.764 MB / 391.6 MB, free: 30.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.6666, allocations: 63.69 kB / 391.6 MB, free: 30.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.6667, allocations: 15.94 kB / 391.7 MB, free: 30.87 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.0005352/0.6673, allocations: 173.8 kB / 391.8 MB, free: 30.69 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000278/0.6676, allocations: 55.72 kB / 391.9 MB, free: 30.64 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.6678, allocations: 56.92 kB / 391.9 MB, free: 30.58 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.6679, allocations: 7.953 kB / 391.9 MB, free: 30.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.6679, allocations: 0 / 391.9 MB, free: 30.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002434/0.6703, allocations: 0.7944 MB / 392.7 MB, free: 29.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004402/0.6748, allocations: 1.066 MB / 393.8 MB, free: 28.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/0.6749, allocations: 3.953 kB / 393.8 MB, free: 28.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/0.6762, allocations: 103.9 kB / 393.9 MB, free: 28.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.619e-05/0.6762, allocations: 4 kB / 393.9 MB, free: 28.44 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.887e-05/0.6763, allocations: 7.984 kB / 393.9 MB, free: 28.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.6763, allocations: 4 kB / 393.9 MB, free: 28.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.381e-06/0.6764, allocations: 4 kB / 393.9 MB, free: 28.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003604/0.68, allocations: 0.7331 MB / 394.7 MB, free: 27.67 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000605/0.6807, allocations: 164.4 kB / 394.8 MB, free: 27.49 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/0.6809, allocations: 8 kB / 394.8 MB, free: 27.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.682, allocations: 59.91 kB / 394.9 MB, free: 27.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001845/0.6823, allocations: 19.97 kB / 394.9 MB, free: 27.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-05/0.6823, allocations: 8 kB / 394.9 MB, free: 27.4 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007557/0.6831, allocations: 318.9 kB / 395.2 MB, free: 27.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.6831, allocations: 0 / 395.2 MB, free: 27.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001308/0.6845, allocations: 139.8 kB / 395.4 MB, free: 26.95 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.0002307/0.6847, allocations: 107.2 kB / 395.5 MB, free: 26.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003533/0.6883, allocations: 0.6963 MB / 396.2 MB, free: 26.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/0.6884, allocations: 3.938 kB / 396.2 MB, free: 26.1 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.6896, allocations: 211.6 kB / 396.4 MB, free: 25.89 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/0.6913, allocations: 120.7 kB / 396.5 MB, free: 25.78 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003793/0.6952, allocations: 1.184 MB / 397.7 MB, free: 24.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005046/0.6958, allocations: 0.8469 MB / 398.5 MB, free: 23.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003906/0.6962, allocations: 39.42 kB / 398.6 MB, free: 23.66 MB / 298.7 MB Notification: Performance of SimCode: time 1.543e-06/0.6962, allocations: 4 kB / 398.6 MB, free: 23.65 MB / 298.7 MB Notification: Performance of Templates: time 0.02772/0.7239, allocations: 8.486 MB / 407.1 MB, free: 15.18 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/jenkins1/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