Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.0009047/0.0009047, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009262/0.0009262, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 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.9072/0.9072, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.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.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 273 MB, free: 1.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.623e-05/1.758e-05, allocations: 2.312 kB / 273 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.004348/0.004366, allocations: 5.628 MB / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0023/0.006666, allocations: 1.437 MB / 280 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003019/0.006968, allocations: 11.94 kB / 280 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003599/0.007328, allocations: 194.3 kB / 280.2 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005334/0.007861, allocations: 424.3 kB / 280.6 MB, free: 9.844 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.008221, allocations: 263.5 kB / 280.9 MB, free: 9.586 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009615/0.009182, allocations: 1.42 MB / 282.3 MB, free: 8.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003203/0.009503, allocations: 263.6 kB / 282.6 MB, free: 7.879 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006203/0.01012, allocations: 0.7913 MB / 283.4 MB, free: 7.086 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003786/0.0105, allocations: 434.8 kB / 283.8 MB, free: 6.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.01061, allocations: 116 kB / 283.9 MB, free: 6.547 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.01074, allocations: 120 kB / 284 MB, free: 6.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.01088, allocations: 271 kB / 284.3 MB, free: 6.164 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002972/0.01117, allocations: 447.1 kB / 284.7 MB, free: 5.727 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006624/0.01184, allocations: 0.9186 MB / 285.6 MB, free: 4.805 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.01184, allocations: 0 / 285.6 MB, free: 4.805 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.01184, allocations: 0 / 285.6 MB, free: 4.805 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.01185, allocations: 4 kB / 285.6 MB, free: 4.801 MB / 266.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.001687/0.01354, allocations: 1.536 MB / 287.2 MB, free: 3.207 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.01357, allocations: 8.031 kB / 287.2 MB, free: 3.199 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.01375, allocations: 200.1 kB / 287.4 MB, free: 3.004 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005917/0.01434, allocations: 0.5609 MB / 287.9 MB, free: 2.414 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/0.01449, allocations: 305.9 kB / 288.2 MB, free: 2.059 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.581e-05/0.01458, allocations: 84.38 kB / 288.3 MB, free: 1.977 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.01561, allocations: 1.766 MB / 290.1 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.01562, allocations: 192 / 290.1 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.824e-05/0.01567, allocations: 36.12 kB / 290.1 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.01568, allocations: 16 kB / 290.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005147/0.0162, allocations: 347.7 kB / 290.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002156/0.01835, allocations: 1.812 MB / 292.3 MB, free: 13.58 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.01957, allocations: 0.5776 MB / 292.9 MB, free: 13 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000303/0.01987, allocations: 197.5 kB / 293.1 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.396e-05/0.01992, allocations: 12.66 kB / 293.1 MB, free: 12.78 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.01995, allocations: 54.81 kB / 293.1 MB, free: 12.72 MB / 282.7 MB Notification: Performance of pre-optimization done (n=72): time 1.783e-06/0.01995, allocations: 4 kB / 293.1 MB, free: 12.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=72): time 0.001097/0.02104, allocations: 0.7261 MB / 293.9 MB, free: 11.96 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002311/0.02128, allocations: 0.945 MB / 294.8 MB, free: 10.79 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00055/0.02183, allocations: 0.7142 MB / 295.5 MB, free: 10.06 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.213e-05/0.02187, allocations: 49.7 kB / 295.6 MB, free: 10.01 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/0.0221, allocations: 483.5 kB / 296 MB, free: 9.527 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.02223, allocations: 265.7 kB / 296.3 MB, free: 9.266 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.02239, allocations: 164.3 kB / 296.5 MB, free: 9.098 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.0225, allocations: 0.5004 MB / 297 MB, free: 8.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/0.02274, allocations: 211 kB / 297.2 MB, free: 8.363 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000643/0.02338, allocations: 1.5 MB / 298.7 MB, free: 6.461 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004922/0.02388, allocations: 466 kB / 299.1 MB, free: 5.969 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.02388, allocations: 0 / 299.1 MB, free: 5.969 MB / 282.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001036/0.02491, allocations: 0.8178 MB / 299.9 MB, free: 5.086 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.964e-05/0.02495, allocations: 85.11 kB / 300 MB, free: 4.984 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.02496, allocations: 4 kB / 300 MB, free: 4.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002317/0.02519, allocations: 126.4 kB / 300.2 MB, free: 4.836 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003486/0.02554, allocations: 143.8 kB / 300.3 MB, free: 4.695 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09959/0.1251, allocations: 8.903 MB / 309.2 MB, free: 30.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006246/0.1258, allocations: 84.81 kB / 309.3 MB, free: 30.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.326e-05/0.1258, allocations: 28.73 kB / 309.3 MB, free: 30.16 MB / 282.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.0002142/0.126, allocations: 213.6 kB / 309.5 MB, free: 30 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.1261, allocations: 129.7 kB / 309.6 MB, free: 30 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.309e-05/0.1262, allocations: 93.94 kB / 309.7 MB, free: 29.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1262, allocations: 7 kB / 309.7 MB, free: 29.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.1262, allocations: 1.406 kB / 309.7 MB, free: 29.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006252/0.1269, allocations: 0.7735 MB / 310.5 MB, free: 29.44 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.1284, allocations: 1.317 MB / 311.8 MB, free: 29.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1284, allocations: 0.9375 kB / 311.8 MB, free: 29.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004014/0.1288, allocations: 152.8 kB / 312 MB, free: 29.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.167e-05/0.1289, allocations: 36 kB / 312 MB, free: 29.04 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.207e-05/0.1289, allocations: 13.66 kB / 312 MB, free: 29.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004218/0.1294, allocations: 1.758 MB / 313.8 MB, free: 27.32 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1294, allocations: 3.875 kB / 313.8 MB, free: 27.32 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008885/0.1302, allocations: 0.7749 MB / 314.6 MB, free: 27.08 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002304/0.1305, allocations: 175.8 kB / 314.7 MB, free: 27.03 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.665e-05/0.1305, allocations: 20.17 kB / 314.8 MB, free: 27.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003128/0.1309, allocations: 35.28 kB / 314.8 MB, free: 27.03 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.643e-05/0.1309, allocations: 47.67 kB / 314.8 MB, free: 27.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.131, allocations: 22.61 kB / 314.9 MB, free: 27.03 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003858/0.1313, allocations: 466.1 kB / 315.3 MB, free: 26.89 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1313, allocations: 0 / 315.3 MB, free: 26.89 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005323/0.1319, allocations: 309.8 kB / 315.6 MB, free: 26.87 MB / 282.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.0001099/0.132, allocations: 121.7 kB / 315.7 MB, free: 26.78 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009952/0.133, allocations: 1.523 MB / 317.3 MB, free: 25.62 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.133, allocations: 2.469 kB / 317.3 MB, free: 25.62 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000306/0.1333, allocations: 376.3 kB / 317.6 MB, free: 25.43 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006725/0.134, allocations: 290.2 kB / 317.9 MB, free: 25.42 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.1359, allocations: 1.529 MB / 319.4 MB, free: 24.67 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.1361, allocations: 175.5 kB / 319.6 MB, free: 24.59 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003245/0.1364, allocations: 125.5 kB / 319.7 MB, free: 24.55 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.1365, allocations: 76.73 kB / 319.8 MB, free: 24.54 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1365, allocations: 0 / 319.8 MB, free: 24.54 MB / 282.7 MB Notification: Performance of Templates: time 0.01695/0.1535, allocations: 18.76 MB / 338.6 MB, free: 12.17 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.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.251271005254239]