Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.002516/0.002516, allocations: 99.53 kB / 21.73 MB, free: 2.688 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.002791/0.002791, allocations: 167.2 kB / 25.03 MB, free: 8.414 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 1.575/1.575, allocations: 158.6 MB / 186.8 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 178] 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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 250.4 MB, free: 7.848 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/2.937e-05, allocations: 2.312 kB / 250.4 MB, free: 7.844 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.00571/0.00574, allocations: 3.475 MB / 253.8 MB, free: 4.348 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.007792, allocations: 0.9666 MB / 254.8 MB, free: 3.371 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002394/0.008031, allocations: 7.938 kB / 254.8 MB, free: 3.363 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003703/0.008402, allocations: 103.1 kB / 254.9 MB, free: 3.262 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004887/0.00889, allocations: 206.2 kB / 255.1 MB, free: 3.059 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.009202, allocations: 123.7 kB / 255.2 MB, free: 2.938 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000888/0.01009, allocations: 0.6639 MB / 255.9 MB, free: 2.273 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002855/0.01038, allocations: 127.5 kB / 256 MB, free: 2.141 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005156/0.01089, allocations: 371.1 kB / 256.4 MB, free: 1.777 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003579/0.01125, allocations: 195.5 kB / 256.6 MB, free: 1.586 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.01135, allocations: 52 kB / 256.6 MB, free: 1.535 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.01146, allocations: 56 kB / 256.7 MB, free: 1.48 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.0116, allocations: 119.6 kB / 256.8 MB, free: 1.363 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002976/0.0119, allocations: 211.5 kB / 257 MB, free: 1.156 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.01305, allocations: 0.6659 MB / 257.7 MB, free: 500 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.01306, allocations: 4 kB / 257.7 MB, free: 496 kB / 234.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.01306, allocations: 0 / 257.7 MB, free: 496 kB / 234.7 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.01307, allocations: 4 kB / 257.7 MB, free: 492 kB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001767/0.01484, allocations: 0.9019 MB / 258.6 MB, free: 15.54 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.01488, allocations: 11.98 kB / 258.6 MB, free: 15.52 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.01506, allocations: 88.56 kB / 258.7 MB, free: 15.44 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000647/0.01571, allocations: 351.2 kB / 259 MB, free: 15.07 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.01585, allocations: 110.3 kB / 259.1 MB, free: 14.95 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.213e-05/0.01594, allocations: 40.38 kB / 259.2 MB, free: 14.91 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.01707, allocations: 0.8791 MB / 260 MB, free: 13.86 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.01709, allocations: 4.125 kB / 260 MB, free: 13.86 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.742e-05/0.01714, allocations: 20.12 kB / 260.1 MB, free: 13.84 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.01715, allocations: 8 kB / 260.1 MB, free: 13.83 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006292/0.01778, allocations: 266.5 kB / 260.3 MB, free: 13.57 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002379/0.02016, allocations: 1.116 MB / 261.4 MB, free: 12.41 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.02138, allocations: 359.4 kB / 261.8 MB, free: 12.05 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.02168, allocations: 127.6 kB / 261.9 MB, free: 11.92 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.746e-05/0.02172, allocations: 8 kB / 261.9 MB, free: 11.91 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.738e-05/0.02177, allocations: 45.39 kB / 262 MB, free: 11.86 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 2.625e-06/0.02177, allocations: 0 / 262 MB, free: 11.86 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.001231/0.02301, allocations: 460.5 kB / 262.4 MB, free: 11.39 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003232/0.02333, allocations: 449 kB / 262.9 MB, free: 10.85 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006793/0.02401, allocations: 0.5104 MB / 263.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.732e-05/0.02406, allocations: 33.7 kB / 263.4 MB, free: 10.29 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/0.02434, allocations: 307.2 kB / 263.7 MB, free: 9.98 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.02447, allocations: 127 kB / 263.8 MB, free: 9.855 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.02464, allocations: 87.67 kB / 263.9 MB, free: 9.758 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0005824/0.02522, allocations: 0.5508 MB / 264.5 MB, free: 9.195 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.02551, allocations: 126.3 kB / 264.6 MB, free: 9.066 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007463/0.02626, allocations: 0.6987 MB / 265.3 MB, free: 8.199 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005583/0.02682, allocations: 298.9 kB / 265.6 MB, free: 7.895 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.02682, allocations: 0 / 265.6 MB, free: 7.895 MB / 250.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009036/0.02772, allocations: 459.9 kB / 266 MB, free: 7.418 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.462e-05/0.02778, allocations: 37.69 kB / 266.1 MB, free: 7.375 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.02779, allocations: 0 / 266.1 MB, free: 7.375 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002069/0.02799, allocations: 55.36 kB / 266.1 MB, free: 7.312 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003405/0.02833, allocations: 63.89 kB / 266.2 MB, free: 7.25 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003712/0.03204, allocations: 3.761 MB / 269.9 MB, free: 3.238 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004347/0.03248, allocations: 31.83 kB / 270 MB, free: 3.207 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.03252, allocations: 19.92 kB / 270 MB, free: 3.188 MB / 250.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 (36): * Single equations (assignments): 33 * 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.0002998/0.03282, allocations: 220.5 kB / 270.2 MB, free: 2.961 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.03293, allocations: 59.72 kB / 270.3 MB, free: 2.902 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.03304, allocations: 44.38 kB / 270.3 MB, free: 2.859 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.03304, allocations: 4 kB / 270.3 MB, free: 2.855 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.03305, allocations: 0 / 270.3 MB, free: 2.855 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008385/0.03388, allocations: 0.6425 MB / 271 MB, free: 2.109 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.03564, allocations: 0.8719 MB / 271.8 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.03564, allocations: 0 / 271.8 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003562/0.036, allocations: 71.89 kB / 271.9 MB, free: 1.121 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.036, allocations: 0 / 271.9 MB, free: 1.121 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.03603, allocations: 8 kB / 271.9 MB, free: 1.113 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.03604, allocations: 0 / 271.9 MB, free: 1.113 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.03604, allocations: 0 / 271.9 MB, free: 1.113 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009784/0.03702, allocations: 0.5712 MB / 272.5 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000208/0.03722, allocations: 87.64 kB / 272.6 MB, free: 444 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.58e-05/0.03729, allocations: 4 kB / 272.6 MB, free: 440 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003046/0.03759, allocations: 15.98 kB / 272.6 MB, free: 424 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.717e-05/0.03766, allocations: 20.16 kB / 272.6 MB, free: 404 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/0.03769, allocations: 11.98 kB / 272.6 MB, free: 392 kB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0004442/0.03813, allocations: 347.1 kB / 273 MB, free: 48 kB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03813, allocations: 0 / 273 MB, free: 48 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005425/0.03867, allocations: 143.8 kB / 273.1 MB, free: 15.9 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 (32): * Single equations (assignments): 32 * 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.0001884/0.03886, allocations: 111.2 kB / 273.2 MB, free: 15.78 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.04007, allocations: 0.7099 MB / 273.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.04008, allocations: 0 / 273.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002797/0.04036, allocations: 139.5 kB / 274 MB, free: 14.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006406/0.041, allocations: 137.4 kB / 274.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.04275, allocations: 0.8147 MB / 275 MB, free: 13.9 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.04299, allocations: 224.3 kB / 275.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002374/0.04323, allocations: 55.36 kB / 275.3 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.04334, allocations: 36.5 kB / 275.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.04334, allocations: 0 / 275.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of Templates: time 0.01773/0.06107, allocations: 8.402 MB / 283.7 MB, free: 5.203 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.075009588967077]