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.0009247/0.0009247, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.0008538/0.0008538, allocations: 147.4 kB / 24.9 MB, free: 8.727 MB / 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.9003/0.9003, allocations: 173.4 MB / 201.5 MB, free: 8.742 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.031e-06/1.031e-06, allocations: 0 / 268.5 MB, free: 6.031 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.416e-05/1.519e-05, allocations: 10.05 kB / 268.5 MB, free: 6.023 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.003912/0.003927, allocations: 5.496 MB / 274 MB, free: 0.5 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.005351, allocations: 1.471 MB / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001981/0.005549, allocations: 15.94 kB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003084/0.005858, allocations: 202.2 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004463/0.006304, allocations: 420.4 kB / 276.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.006606, allocations: 259.5 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008214/0.007427, allocations: 1.42 MB / 277.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002688/0.007696, allocations: 287.6 kB / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004778/0.008174, allocations: 0.7874 MB / 278.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003652/0.008539, allocations: 438.8 kB / 279.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.008642, allocations: 120 kB / 279.3 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.008746, allocations: 119.9 kB / 279.5 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.008873, allocations: 263.1 kB / 279.7 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002741/0.009147, allocations: 447.1 kB / 280.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006106/0.009758, allocations: 0.9069 MB / 281.1 MB, free: 9.336 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.009759, allocations: 0 / 281.1 MB, free: 9.336 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.00976, allocations: 0 / 281.1 MB, free: 9.336 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.009768, allocations: 0 / 281.1 MB, free: 9.336 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.001231/0.011, allocations: 1.396 MB / 282.5 MB, free: 7.895 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.01103, allocations: 8.031 kB / 282.5 MB, free: 7.887 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.01116, allocations: 148.8 kB / 282.6 MB, free: 7.742 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004494/0.01161, allocations: 421.8 kB / 283 MB, free: 7.301 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/0.01175, allocations: 309.9 kB / 283.3 MB, free: 6.945 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.609e-05/0.01183, allocations: 88.33 kB / 283.4 MB, free: 6.859 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007967/0.01263, allocations: 1.643 MB / 285.1 MB, free: 4.879 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.01264, allocations: 4.188 kB / 285.1 MB, free: 4.875 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.31e-05/0.01269, allocations: 36.12 kB / 285.1 MB, free: 4.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.0127, allocations: 16 kB / 285.1 MB, free: 4.824 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002845/0.01298, allocations: 233.8 kB / 285.3 MB, free: 4.598 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.01471, allocations: 1.277 MB / 286.6 MB, free: 3.289 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009561/0.01567, allocations: 0.4946 MB / 287.1 MB, free: 2.781 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.01586, allocations: 154.7 kB / 287.3 MB, free: 2.629 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.12e-05/0.0159, allocations: 20.64 kB / 287.3 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.01593, allocations: 47.22 kB / 287.3 MB, free: 2.555 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 1.783e-06/0.01593, allocations: 0 / 287.3 MB, free: 2.555 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.0007715/0.0167, allocations: 0.533 MB / 287.9 MB, free: 2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002249/0.01693, allocations: 0.9489 MB / 288.8 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000338/0.01727, allocations: 0.578 MB / 289.4 MB, free: 244 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/0.01731, allocations: 45.7 kB / 289.4 MB, free: 192 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.09302/0.1103, allocations: 317.6 kB / 289.7 MB, free: 30.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/0.1105, allocations: 270.4 kB / 290 MB, free: 30.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.1107, allocations: 155.2 kB / 290.2 MB, free: 30.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.657e-05/0.1108, allocations: 337 kB / 290.5 MB, free: 30.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.111, allocations: 163.1 kB / 290.6 MB, free: 30.26 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003801/0.1113, allocations: 1.345 MB / 292 MB, free: 28.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003535/0.1117, allocations: 390.3 kB / 292.4 MB, free: 28.6 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1117, allocations: 1.094 kB / 292.4 MB, free: 28.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0006766/0.1124, allocations: 0.6092 MB / 293 MB, free: 28.33 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.782e-05/0.1124, allocations: 90.91 kB / 293.1 MB, free: 28.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.1124, allocations: 6.938 kB / 293.1 MB, free: 28.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002021/0.1126, allocations: 91.41 kB / 293.2 MB, free: 28.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003557/0.113, allocations: 147.3 kB / 293.3 MB, free: 28.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/0.1149, allocations: 5.984 MB / 299.3 MB, free: 22.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003918/0.1153, allocations: 96.53 kB / 299.4 MB, free: 22.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.1154, allocations: 20.83 kB / 299.4 MB, free: 22.51 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.000186/0.1156, allocations: 168 kB / 299.6 MB, free: 22.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.1157, allocations: 91.12 kB / 299.7 MB, free: 22.4 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.102e-05/0.1158, allocations: 93.47 kB / 299.8 MB, free: 22.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1158, allocations: 7.094 kB / 299.8 MB, free: 22.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1158, allocations: 0 / 299.8 MB, free: 22.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000406/0.1162, allocations: 0.6554 MB / 300.4 MB, free: 21.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.1173, allocations: 0.9118 MB / 301.3 MB, free: 21.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1173, allocations: 0 / 301.3 MB, free: 21.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003633/0.1176, allocations: 147.2 kB / 301.5 MB, free: 21.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.758e-05/0.1177, allocations: 25.5 kB / 301.5 MB, free: 21.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.1177, allocations: 17.95 kB / 301.5 MB, free: 21.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000329/0.1181, allocations: 1.179 MB / 302.7 MB, free: 20.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.1181, allocations: 3.938 kB / 302.7 MB, free: 20.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006184/0.1187, allocations: 0.5547 MB / 303.3 MB, free: 20.22 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/0.1189, allocations: 102.2 kB / 303.4 MB, free: 20.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.611e-05/0.1189, allocations: 28.11 kB / 303.4 MB, free: 20.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/0.1192, allocations: 35.42 kB / 303.4 MB, free: 20.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.385e-05/0.1193, allocations: 42.78 kB / 303.5 MB, free: 20.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.1193, allocations: 13.59 kB / 303.5 MB, free: 20.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002461/0.1195, allocations: 292.5 kB / 303.8 MB, free: 20.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1195, allocations: 0 / 303.8 MB, free: 20.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004951/0.12, allocations: 303.8 kB / 304.1 MB, free: 20.11 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.0001115/0.1201, allocations: 111.4 kB / 304.2 MB, free: 20.03 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000746/0.1209, allocations: 1.172 MB / 305.3 MB, free: 19.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/0.1209, allocations: 13.94 kB / 305.3 MB, free: 19.15 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.1211, allocations: 284.2 kB / 305.6 MB, free: 19.01 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005931/0.1217, allocations: 277.2 kB / 305.9 MB, free: 18.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.1235, allocations: 1.465 MB / 307.4 MB, free: 18.24 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.1237, allocations: 172.3 kB / 307.5 MB, free: 18.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003383/0.124, allocations: 123.1 kB / 307.6 MB, free: 18.12 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006559/0.1247, allocations: 425.5 kB / 308.1 MB, free: 18.07 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.1247, allocations: 0 / 308.1 MB, free: 18.07 MB / 266.7 MB Notification: Performance of Templates: time 0.01731/0.142, allocations: 20.02 MB / 328.1 MB, free: 1.574 MB / 266.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.211367088370025]