Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007229/0.0007229, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001069/0.001792, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006143/0.0006143, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009449/0.001559, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9006/0.9006, allocations: 173.4 MB / 186 MB, free: 7.52 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1581/1.059, allocations: 52.48 MB / 238.5 MB, free: 7.617 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 239.7 MB, free: 6.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.097e-05, allocations: 2.969 kB / 239.7 MB, free: 6.344 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.00418/0.004201, allocations: 5.573 MB / 245.3 MB, free: 0.7617 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.005823, allocations: 1.475 MB / 246.8 MB, free: 15.3 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002034/0.006026, allocations: 20.47 kB / 246.8 MB, free: 15.28 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00025/0.006276, allocations: 198.8 kB / 247 MB, free: 15.08 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004596/0.006736, allocations: 417.9 kB / 247.4 MB, free: 14.68 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003802/0.007116, allocations: 264.8 kB / 247.7 MB, free: 14.42 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001146/0.008262, allocations: 1.43 MB / 249.1 MB, free: 12.99 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003002/0.008562, allocations: 275.7 kB / 249.4 MB, free: 12.69 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007392/0.009302, allocations: 0.9401 MB / 250.3 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003621/0.009664, allocations: 430.8 kB / 250.7 MB, free: 11.31 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.009768, allocations: 124 kB / 250.9 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.009901, allocations: 120 kB / 251 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.01001, allocations: 183.4 kB / 251.1 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002573/0.01027, allocations: 371.3 kB / 251.5 MB, free: 10.53 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006343/0.0109, allocations: 0.8174 MB / 252.3 MB, free: 9.707 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/0.01091, allocations: 4 kB / 252.3 MB, free: 9.703 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.01091, allocations: 0 / 252.3 MB, free: 9.703 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.01093, allocations: 3.984 kB / 252.3 MB, free: 9.699 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.001366/0.01229, allocations: 1.63 MB / 254 MB, free: 8.02 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.795e-05/0.01232, allocations: 8.031 kB / 254 MB, free: 8.012 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.01245, allocations: 148.8 kB / 254.1 MB, free: 7.867 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.01288, allocations: 429.8 kB / 254.5 MB, free: 7.422 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002797/0.01316, allocations: 305.9 kB / 254.8 MB, free: 7.066 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.76e-05/0.01323, allocations: 84.38 kB / 254.9 MB, free: 6.984 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007839/0.01402, allocations: 1.635 MB / 256.6 MB, free: 5.016 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.01403, allocations: 192 / 256.6 MB, free: 5.016 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.01407, allocations: 36.12 kB / 256.6 MB, free: 4.98 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.01408, allocations: 16 kB / 256.6 MB, free: 4.965 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002722/0.01435, allocations: 229.8 kB / 256.8 MB, free: 4.738 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.01601, allocations: 1.3 MB / 258.1 MB, free: 3.41 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009203/0.01693, allocations: 0.4988 MB / 258.6 MB, free: 2.902 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/0.01712, allocations: 155.2 kB / 258.8 MB, free: 2.75 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.134e-05/0.01716, allocations: 24.64 kB / 258.8 MB, free: 2.727 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.01719, allocations: 47.22 kB / 258.9 MB, free: 2.672 MB / 250.7 MB Notification: Performance of pre-optimization done (n=72): time 1.954e-06/0.01719, allocations: 0 / 258.9 MB, free: 2.672 MB / 250.7 MB Notification: Performance of matching and sorting (n=72): time 0.0007517/0.01794, allocations: 0.5331 MB / 259.4 MB, free: 2.117 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.01797, allocations: 60.06 kB / 259.4 MB, free: 2.047 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/0.0183, allocations: 0.5819 MB / 260 MB, free: 1.453 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.01834, allocations: 41.7 kB / 260.1 MB, free: 1.406 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.01847, allocations: 322.6 kB / 260.4 MB, free: 1.086 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.01858, allocations: 265.7 kB / 260.6 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.01872, allocations: 158.5 kB / 260.8 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.038e-05/0.0188, allocations: 337.9 kB / 261.1 MB, free: 332 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.01893, allocations: 167.1 kB / 261.3 MB, free: 148 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004971/0.01943, allocations: 1.343 MB / 262.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/0.01975, allocations: 391.7 kB / 263 MB, free: 14.03 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.01975, allocations: 8 kB / 263 MB, free: 14.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0004827/0.02023, allocations: 0.6032 MB / 263.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.755e-05/0.02028, allocations: 89.11 kB / 263.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.02028, allocations: 0 / 263.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001718/0.02046, allocations: 100.3 kB / 263.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003971/0.02085, allocations: 191.7 kB / 264 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/0.02331, allocations: 5.997 MB / 270 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003112/0.02363, allocations: 83.53 kB / 270.1 MB, free: 6.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.02365, allocations: 24.02 kB / 270.1 MB, free: 6.406 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001535/0.02381, allocations: 165.7 kB / 270.3 MB, free: 6.234 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.237e-05/0.02389, allocations: 91.84 kB / 270.4 MB, free: 6.145 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.387e-05/0.02397, allocations: 96 kB / 270.4 MB, free: 6.047 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.02398, allocations: 8 kB / 270.5 MB, free: 6.039 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.02398, allocations: 0 / 270.5 MB, free: 6.039 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003869/0.02437, allocations: 0.6537 MB / 271.1 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009784/0.02535, allocations: 0.91 MB / 272 MB, free: 4.332 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.02535, allocations: 0 / 272 MB, free: 4.332 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005634/0.02591, allocations: 206.7 kB / 272.2 MB, free: 4.133 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/0.02612, allocations: 103.2 kB / 272.3 MB, free: 4.031 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.866e-05/0.02619, allocations: 28.77 kB / 272.3 MB, free: 4 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.02622, allocations: 19.98 kB / 272.4 MB, free: 3.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005836/0.02681, allocations: 1.184 MB / 273.5 MB, free: 2.711 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.02681, allocations: 4.031 kB / 273.6 MB, free: 2.707 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006682/0.02748, allocations: 0.551 MB / 274.1 MB, free: 2.137 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.042e-05/0.02756, allocations: 16 kB / 274.1 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003676/0.02793, allocations: 43.83 kB / 274.2 MB, free: 2.078 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.037e-05/0.028, allocations: 48.44 kB / 274.2 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.02802, allocations: 16 kB / 274.2 MB, free: 2.016 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002571/0.02828, allocations: 300.5 kB / 274.5 MB, free: 1.723 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02828, allocations: 0 / 274.5 MB, free: 1.723 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005472/0.02882, allocations: 295.7 kB / 274.8 MB, free: 1.434 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001182/0.02894, allocations: 100.4 kB / 274.9 MB, free: 1.324 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009351/0.02988, allocations: 1.187 MB / 276.1 MB, free: 16 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-05/0.02991, allocations: 20.05 kB / 276.1 MB, free: 15.99 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003559/0.03027, allocations: 325.7 kB / 276.4 MB, free: 15.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.0318, allocations: 2.628 MB / 279.1 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01399/0.04579, allocations: 1.454 MB / 280.5 MB, free: 11.03 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.04592, allocations: 173.5 kB / 280.7 MB, free: 10.84 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003657/0.04628, allocations: 123.2 kB / 280.8 MB, free: 10.71 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008701/0.04715, allocations: 445 kB / 281.2 MB, free: 10.27 MB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.04715, allocations: 0 / 281.2 MB, free: 10.27 MB / 282.7 MB Notification: Performance of Templates: time 0.02803/0.07518, allocations: 22.81 MB / 304 MB, free: 3.934 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.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: 3.074605403468013]