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.00118/0.00118, allocations: 76.08 kB / 21.18 MB, free: 3.383 MB / 18.57 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.004187/0.004187, allocations: 141.1 kB / 24.54 MB, free: 32 kB / 18.57 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.9747/0.9747, allocations: 173.4 MB / 201.1 MB, free: 9.297 MB / 186.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.362e-06/1.362e-06, allocations: 0 / 268 MB, free: 6.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.149e-05, allocations: 2.312 kB / 268 MB, free: 6.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.01172/0.01175, allocations: 5.599 MB / 273.6 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003922/0.01567, allocations: 1.409 MB / 275 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004705/0.01614, allocations: 15.88 kB / 275 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005149/0.01665, allocations: 198.3 kB / 275.2 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008757/0.01753, allocations: 416.4 kB / 275.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005761/0.0181, allocations: 267.5 kB / 275.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001682/0.01979, allocations: 1.409 MB / 277.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005272/0.02031, allocations: 275.6 kB / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.02141, allocations: 0.7952 MB / 278.3 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007297/0.02214, allocations: 434.7 kB / 278.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000251/0.02239, allocations: 120 kB / 278.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/0.02262, allocations: 120 kB / 279 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002116/0.02283, allocations: 255.1 kB / 279.3 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005535/0.02339, allocations: 455 kB / 279.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.02449, allocations: 0.907 MB / 280.6 MB, free: 9.703 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.02449, allocations: 3.938 kB / 280.6 MB, free: 9.699 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.02449, allocations: 0 / 280.6 MB, free: 9.699 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.511e-05/0.02452, allocations: 0 / 280.6 MB, free: 9.699 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.002448/0.02696, allocations: 1.532 MB / 282.1 MB, free: 8.109 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.02701, allocations: 8.031 kB / 282.1 MB, free: 8.102 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003242/0.02734, allocations: 192.2 kB / 282.3 MB, free: 7.914 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009175/0.02825, allocations: 0.5512 MB / 282.9 MB, free: 7.332 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002595/0.02851, allocations: 301.9 kB / 283.2 MB, free: 6.984 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.02865, allocations: 84.38 kB / 283.3 MB, free: 6.902 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.03034, allocations: 1.774 MB / 285 MB, free: 4.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.03037, allocations: 4.141 kB / 285 MB, free: 4.746 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.132e-05/0.03045, allocations: 40.11 kB / 285.1 MB, free: 4.707 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.03047, allocations: 16 kB / 285.1 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000844/0.03131, allocations: 347.7 kB / 285.4 MB, free: 4.355 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003495/0.03481, allocations: 1.82 MB / 287.3 MB, free: 2.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/0.03645, allocations: 0.5697 MB / 287.8 MB, free: 1.898 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003173/0.03677, allocations: 201.5 kB / 288 MB, free: 1.699 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.018e-05/0.03682, allocations: 16.66 kB / 288 MB, free: 1.684 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.03685, allocations: 61.97 kB / 288.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 1.763e-06/0.03685, allocations: 0 / 288.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.001133/0.03799, allocations: 0.7222 MB / 288.8 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002547/0.03824, allocations: 0.9489 MB / 289.8 MB, free: 15.69 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005572/0.0388, allocations: 0.7065 MB / 290.5 MB, free: 14.96 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.711e-05/0.03884, allocations: 45.7 kB / 290.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.03908, allocations: 0.4934 MB / 291 MB, free: 14.42 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.03921, allocations: 249.8 kB / 291.3 MB, free: 14.17 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.03937, allocations: 168.3 kB / 291.4 MB, free: 14 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.03948, allocations: 0.4965 MB / 291.9 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.03972, allocations: 211 kB / 292.1 MB, free: 13.27 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000643/0.04036, allocations: 1.492 MB / 293.6 MB, free: 11.37 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004918/0.04086, allocations: 470 kB / 294.1 MB, free: 10.87 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.04086, allocations: 0 / 294.1 MB, free: 10.87 MB / 282.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0008001/0.04166, allocations: 0.8216 MB / 294.9 MB, free: 9.988 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.442e-05/0.0417, allocations: 85.09 kB / 295 MB, free: 9.887 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.04171, allocations: 4 kB / 295 MB, free: 9.883 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002134/0.04192, allocations: 122.5 kB / 295.1 MB, free: 9.742 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003463/0.04227, allocations: 147.8 kB / 295.2 MB, free: 9.598 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003561/0.04583, allocations: 8.911 MB / 304.2 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09676/0.1426, allocations: 84.14 kB / 304.2 MB, free: 43.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.1427, allocations: 34.84 kB / 304.3 MB, free: 43.46 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.0002256/0.1429, allocations: 213 kB / 304.5 MB, free: 43.3 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/0.1431, allocations: 118.3 kB / 304.6 MB, free: 43.3 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.791e-05/0.1432, allocations: 95.8 kB / 304.7 MB, free: 43.28 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.1432, allocations: 7.688 kB / 304.7 MB, free: 43.28 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.1432, allocations: 1.25 kB / 304.7 MB, free: 43.28 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000638/0.1438, allocations: 0.7738 MB / 305.5 MB, free: 42.73 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/0.1453, allocations: 1.325 MB / 306.8 MB, free: 42.35 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1453, allocations: 0 / 306.8 MB, free: 42.35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004162/0.1457, allocations: 149.4 kB / 306.9 MB, free: 42.35 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.697e-05/0.1458, allocations: 30.77 kB / 307 MB, free: 42.34 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/0.1459, allocations: 13.84 kB / 307 MB, free: 42.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004439/0.1463, allocations: 1.759 MB / 308.7 MB, free: 40.62 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1463, allocations: 0 / 308.7 MB, free: 40.62 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008594/0.1472, allocations: 0.7783 MB / 309.5 MB, free: 40.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002213/0.1474, allocations: 172.6 kB / 309.7 MB, free: 40.39 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.119e-05/0.1475, allocations: 20.92 kB / 309.7 MB, free: 40.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000307/0.1478, allocations: 38.42 kB / 309.8 MB, free: 40.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.475e-05/0.1478, allocations: 55.52 kB / 309.8 MB, free: 40.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.1479, allocations: 17.7 kB / 309.8 MB, free: 40.39 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003647/0.1482, allocations: 464.9 kB / 310.3 MB, free: 40.26 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1482, allocations: 0 / 310.3 MB, free: 40.26 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005257/0.1487, allocations: 301.4 kB / 310.6 MB, free: 40.24 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.0001089/0.1489, allocations: 129.3 kB / 310.7 MB, free: 40.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009753/0.1498, allocations: 1.524 MB / 312.2 MB, free: 38.99 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.1498, allocations: 1.438 kB / 312.2 MB, free: 38.99 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002855/0.1501, allocations: 379.8 kB / 312.6 MB, free: 38.81 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006517/0.1508, allocations: 277.9 kB / 312.9 MB, free: 38.8 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.1527, allocations: 1.537 MB / 314.4 MB, free: 38.04 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.1528, allocations: 171.7 kB / 314.6 MB, free: 37.96 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003159/0.1531, allocations: 121.5 kB / 314.7 MB, free: 37.93 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.1533, allocations: 76.2 kB / 314.8 MB, free: 37.93 MB / 282.7 MB Notification: Performance of SimCode: time 6.82e-07/0.1533, allocations: 1.406 kB / 314.8 MB, free: 37.93 MB / 282.7 MB Notification: Performance of Templates: time 0.01737/0.1706, allocations: 19.73 MB / 334.5 MB, free: 23.98 MB / 282.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.284877472091466]