Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00143/0.00143, allocations: 75.75 kB / 21.97 MB, free: 2.605 MB / 18.57 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.001625/0.001625, allocations: 164.2 kB / 25.32 MB, free: 9.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8755/0.8755, allocations: 158.6 MB / 187.2 MB, free: 2.512 MB / 170.7 MB " [Timeout remaining time 179] 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.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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 251 MB, free: 3.617 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.433e-05/1.582e-05, allocations: 6.312 kB / 251 MB, free: 3.609 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003612/0.003628, allocations: 3.775 MB / 254.8 MB, free: 15.81 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.005204, allocations: 1.021 MB / 255.8 MB, free: 14.78 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002234/0.005427, allocations: 7.938 kB / 255.8 MB, free: 14.77 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.005726, allocations: 111 kB / 255.9 MB, free: 14.66 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003476/0.006074, allocations: 218.1 kB / 256.2 MB, free: 14.45 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.006343, allocations: 143.7 kB / 256.3 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006631/0.007006, allocations: 0.7312 MB / 257 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002255/0.007231, allocations: 135.2 kB / 257.2 MB, free: 13.43 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004198/0.007651, allocations: 411.1 kB / 257.6 MB, free: 13.03 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.007891, allocations: 223.3 kB / 257.8 MB, free: 12.81 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.748e-05/0.007958, allocations: 60 kB / 257.8 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.546e-05/0.008024, allocations: 63.94 kB / 257.9 MB, free: 12.69 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.843e-05/0.008102, allocations: 135.5 kB / 258 MB, free: 12.56 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.008269, allocations: 231.5 kB / 258.3 MB, free: 12.33 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004267/0.008695, allocations: 470.3 kB / 258.7 MB, free: 11.87 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.008697, allocations: 0 / 258.7 MB, free: 11.87 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.008698, allocations: 0 / 258.7 MB, free: 11.87 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.008706, allocations: 4 kB / 258.7 MB, free: 11.87 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.001018/0.009724, allocations: 0.9412 MB / 259.7 MB, free: 10.88 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.009764, allocations: 11.98 kB / 259.7 MB, free: 10.87 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.009888, allocations: 104.5 kB / 259.8 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000461/0.01035, allocations: 371.4 kB / 260.1 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.015e-05/0.01044, allocations: 110.7 kB / 260.2 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.657e-05/0.0105, allocations: 40.38 kB / 260.3 MB, free: 10.21 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008982/0.01139, allocations: 0.8263 MB / 261.1 MB, free: 9.223 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.01141, allocations: 192 / 261.1 MB, free: 9.223 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.236e-05/0.01144, allocations: 24.12 kB / 261.1 MB, free: 9.199 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.01145, allocations: 15.94 kB / 261.2 MB, free: 9.184 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002698/0.01172, allocations: 157.9 kB / 261.3 MB, free: 9.027 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.013, allocations: 1.004 MB / 262.3 MB, free: 7.98 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/0.01336, allocations: 227.8 kB / 262.5 MB, free: 7.746 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.01349, allocations: 95.39 kB / 262.6 MB, free: 7.648 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.01352, allocations: 8 kB / 262.6 MB, free: 7.641 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.01355, allocations: 41.39 kB / 262.7 MB, free: 7.59 MB / 250.7 MB Notification: Performance of pre-optimization done (n=37): time 4.909e-06/0.01355, allocations: 0 / 262.7 MB, free: 7.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=37): time 0.0006513/0.0142, allocations: 389.4 kB / 263.1 MB, free: 7.195 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/0.01434, allocations: 441 kB / 263.5 MB, free: 6.66 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003452/0.01469, allocations: 462.7 kB / 263.9 MB, free: 6.191 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.01472, allocations: 37.7 kB / 264 MB, free: 6.148 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.01487, allocations: 307.2 kB / 264.3 MB, free: 5.844 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.757e-05/0.01495, allocations: 142.8 kB / 264.4 MB, free: 5.703 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.735e-05/0.01505, allocations: 83.34 kB / 264.5 MB, free: 5.613 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.01519, allocations: 0.5313 MB / 265 MB, free: 5.07 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.01531, allocations: 85.66 kB / 265.1 MB, free: 4.98 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/0.01563, allocations: 0.6346 MB / 265.7 MB, free: 4.176 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.01586, allocations: 200.8 kB / 265.9 MB, free: 3.965 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01587, allocations: 0 / 265.9 MB, free: 3.965 MB / 250.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004085/0.01627, allocations: 383.4 kB / 266.3 MB, free: 3.562 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.0163, allocations: 33.7 kB / 266.3 MB, free: 3.523 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01631, allocations: 0 / 266.3 MB, free: 3.523 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001254/0.01643, allocations: 47.34 kB / 266.4 MB, free: 3.469 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.01664, allocations: 75.89 kB / 266.5 MB, free: 3.395 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/0.01856, allocations: 3.57 MB / 270 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.01874, allocations: 43.77 kB / 270.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.01876, allocations: 12 kB / 270.1 MB, free: 15.52 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.0001212/0.01888, allocations: 192.5 kB / 270.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.57e-05/0.01895, allocations: 63.72 kB / 270.3 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.343e-05/0.019, allocations: 56.56 kB / 270.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.01901, allocations: 4 kB / 270.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.01901, allocations: 0 / 270.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003724/0.01938, allocations: 0.6058 MB / 271 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007886/0.02017, allocations: 0.7899 MB / 271.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.02017, allocations: 4 kB / 271.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.02039, allocations: 79.89 kB / 271.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.0204, allocations: 4 kB / 271.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.02042, allocations: 15.98 kB / 271.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.02042, allocations: 0 / 271.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.02042, allocations: 4 kB / 271.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004758/0.0209, allocations: 485.3 kB / 272.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.02101, allocations: 91.55 kB / 272.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.02105, allocations: 12.03 kB / 272.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.0212, allocations: 23.98 kB / 272.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/0.02126, allocations: 23.95 kB / 272.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.02127, allocations: 11.98 kB / 272.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002049/0.02148, allocations: 307 kB / 272.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02148, allocations: 0 / 272.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002923/0.02177, allocations: 147.8 kB / 273 MB, free: 12.45 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 9.857e-05/0.02187, allocations: 107.1 kB / 273.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005789/0.02245, allocations: 0.6352 MB / 273.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.02245, allocations: 4 kB / 273.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.02259, allocations: 111.8 kB / 273.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.02299, allocations: 142 kB / 274 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.02463, allocations: 0.8811 MB / 274.9 MB, free: 10.47 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.247e-05/0.02471, allocations: 113.8 kB / 275 MB, free: 10.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001562/0.02486, allocations: 68.22 kB / 275 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.069e-05/0.02495, allocations: 44.5 kB / 275.1 MB, free: 10.22 MB / 266.7 MB Notification: Performance of SimCode: time 8.31e-07/0.02495, allocations: 0 / 275.1 MB, free: 10.22 MB / 266.7 MB Notification: Performance of Templates: time 0.01104/0.036, allocations: 9.4 MB / 284.5 MB, free: 0.8438 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.132327737286687]