Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007702/0.0007702, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001121/0.001891, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001417/0.002502, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9745/0.9745, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1091/1.084, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.138e-05, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003774/0.003795, allocations: 3.789 MB / 248.5 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.0053, allocations: 1.059 MB / 249.5 MB, free: 9.352 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001686/0.005469, allocations: 7.938 kB / 249.6 MB, free: 9.344 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.005658, allocations: 115 kB / 249.7 MB, free: 9.23 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.005924, allocations: 218.1 kB / 249.9 MB, free: 9.016 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.006124, allocations: 139.7 kB / 250 MB, free: 8.879 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005016/0.006626, allocations: 0.731 MB / 250.7 MB, free: 8.148 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.006803, allocations: 149 kB / 250.9 MB, free: 8 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004048/0.007208, allocations: 0.49 MB / 251.4 MB, free: 7.512 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.007426, allocations: 223.4 kB / 251.6 MB, free: 7.293 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.259e-05/0.007489, allocations: 60 kB / 251.7 MB, free: 7.234 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.494e-05/0.007554, allocations: 60 kB / 251.7 MB, free: 7.176 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.012e-05/0.007614, allocations: 95.62 kB / 251.8 MB, free: 7.082 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.007748, allocations: 183.7 kB / 252 MB, free: 6.902 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003458/0.008094, allocations: 430.4 kB / 252.4 MB, free: 6.48 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.008103, allocations: 0 / 252.4 MB, free: 6.48 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.008104, allocations: 0 / 252.4 MB, free: 6.48 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.008114, allocations: 0 / 252.4 MB, free: 6.48 MB / 250.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.0008783/0.008992, allocations: 0.9371 MB / 253.3 MB, free: 5.508 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.682e-05/0.009019, allocations: 12.03 kB / 253.4 MB, free: 5.496 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.342e-05/0.009102, allocations: 76.86 kB / 253.4 MB, free: 5.422 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.009399, allocations: 287.7 kB / 253.7 MB, free: 5.117 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.276e-05/0.009471, allocations: 102.7 kB / 253.8 MB, free: 4.996 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.61e-05/0.009518, allocations: 44.31 kB / 253.9 MB, free: 4.953 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004994/0.01002, allocations: 0.7777 MB / 254.6 MB, free: 4.027 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.01003, allocations: 192 / 254.6 MB, free: 4.027 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.01005, allocations: 20.12 kB / 254.7 MB, free: 4.008 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.01006, allocations: 8 kB / 254.7 MB, free: 4 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.01021, allocations: 114.9 kB / 254.8 MB, free: 3.891 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00088/0.01109, allocations: 0.6889 MB / 255.5 MB, free: 3.172 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.01132, allocations: 181.4 kB / 255.6 MB, free: 2.984 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.272e-05/0.01139, allocations: 72.53 kB / 255.7 MB, free: 2.91 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.01141, allocations: 12 kB / 255.7 MB, free: 2.898 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.01143, allocations: 46.48 kB / 255.8 MB, free: 2.844 MB / 250.7 MB Notification: Performance of pre-optimization done (n=37): time 1.292e-06/0.01143, allocations: 0 / 255.8 MB, free: 2.844 MB / 250.7 MB Notification: Performance of matching and sorting (n=37): time 0.0004834/0.01192, allocations: 275.4 kB / 256 MB, free: 2.562 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.01195, allocations: 59.41 kB / 256.1 MB, free: 2.492 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.01225, allocations: 363.3 kB / 256.5 MB, free: 2.121 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.01228, allocations: 37.64 kB / 256.5 MB, free: 2.078 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.0124, allocations: 201.4 kB / 256.7 MB, free: 1.879 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.435e-05/0.01249, allocations: 138.8 kB / 256.8 MB, free: 1.742 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.01261, allocations: 77.66 kB / 256.9 MB, free: 1.66 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.01273, allocations: 358.7 kB / 257.2 MB, free: 1.301 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.632e-05/0.01283, allocations: 69.69 kB / 257.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002855/0.01312, allocations: 0.5718 MB / 257.9 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.01333, allocations: 168.5 kB / 258.1 MB, free: 332 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01333, allocations: 0 / 258.1 MB, free: 332 kB / 250.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003512/0.01368, allocations: 282.1 kB / 258.3 MB, free: 24 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.757e-05/0.01373, allocations: 36.08 kB / 258.4 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.01373, allocations: 0 / 258.4 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.203e-05/0.01382, allocations: 41.67 kB / 258.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.01408, allocations: 103.9 kB / 258.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.01521, allocations: 2.399 MB / 260.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.01537, allocations: 43.81 kB / 260.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.01538, allocations: 11.98 kB / 261 MB, free: 13.21 MB / 266.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 (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.0001038/0.01549, allocations: 145.8 kB / 261.1 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.933e-05/0.01554, allocations: 47.89 kB / 261.1 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.946e-05/0.01559, allocations: 56.62 kB / 261.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.01559, allocations: 4 kB / 261.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.01559, allocations: 0 / 261.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002567/0.01585, allocations: 0.5358 MB / 261.7 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005119/0.01636, allocations: 0.5467 MB / 262.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01636, allocations: 4 kB / 262.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.01662, allocations: 107.8 kB / 262.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.219e-05/0.0167, allocations: 47.66 kB / 262.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.0167, allocations: 0 / 262.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.01672, allocations: 11.98 kB / 262.5 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.01672, allocations: 4 kB / 262.5 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01672, allocations: 3.984 kB / 262.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.017, allocations: 360.7 kB / 262.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.01703, allocations: 8 kB / 262.8 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.01717, allocations: 23.97 kB / 262.8 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.01722, allocations: 27.95 kB / 262.9 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.016e-06/0.01722, allocations: 4 kB / 262.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001042/0.01733, allocations: 160.6 kB / 263 MB, free: 10.97 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01733, allocations: 0 / 263 MB, free: 10.97 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002395/0.01757, allocations: 147.8 kB / 263.2 MB, free: 10.82 MB / 266.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.121e-05/0.01765, allocations: 100.4 kB / 263.3 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003689/0.01802, allocations: 494.1 kB / 263.8 MB, free: 10.19 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/0.01803, allocations: 8 kB / 263.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.01815, allocations: 120.7 kB / 263.9 MB, free: 10.06 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006952/0.01884, allocations: 1.41 MB / 265.3 MB, free: 8.371 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00575/0.02459, allocations: 0.8515 MB / 266.1 MB, free: 7.484 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.215e-05/0.02465, allocations: 113.9 kB / 266.3 MB, free: 7.352 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001482/0.0248, allocations: 60.36 kB / 266.3 MB, free: 7.293 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003287/0.02513, allocations: 241.2 kB / 266.6 MB, free: 7.059 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02513, allocations: 0 / 266.6 MB, free: 7.059 MB / 266.7 MB Notification: Performance of Templates: time 0.0117/0.03684, allocations: 11.35 MB / 277.9 MB, free: 11.97 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6100969929248095]