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.0007927/0.0007927, allocations: 84 kB / 21.43 MB, free: 3.129 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.00301/0.00301, allocations: 145.3 kB / 24.68 MB, free: 9.422 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.8132/0.8132, allocations: 173.4 MB / 201.2 MB, free: 9.426 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.843e-06/1.843e-06, allocations: 0 / 319.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.408e-05, allocations: 2.281 kB / 319.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005589/0.005613, allocations: 4.979 MB / 324.7 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002376/0.007989, allocations: 1.382 MB / 326 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003371/0.008326, allocations: 15.88 kB / 326.1 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004189/0.008745, allocations: 190.3 kB / 326.2 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006899/0.009435, allocations: 420.4 kB / 326.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007362/0.01017, allocations: 263.5 kB / 326.9 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001301/0.01147, allocations: 1.419 MB / 328.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003976/0.01187, allocations: 263.6 kB / 328.6 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008032/0.01267, allocations: 0.7912 MB / 329.4 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005749/0.01325, allocations: 438.8 kB / 329.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001561/0.0134, allocations: 116 kB / 329.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.01356, allocations: 120 kB / 330 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000186/0.01375, allocations: 267 kB / 330.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004117/0.01416, allocations: 447.1 kB / 330.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.01544, allocations: 1.453 MB / 332.2 MB, free: 9.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.01545, allocations: 3.984 kB / 332.2 MB, free: 9.266 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.01545, allocations: 0 / 332.2 MB, free: 9.266 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.01e-05/0.01547, allocations: 4 kB / 332.2 MB, free: 9.262 MB / 298.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.00217/0.01764, allocations: 1.425 MB / 333.6 MB, free: 7.781 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.01768, allocations: 8.031 kB / 333.6 MB, free: 7.773 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002091/0.01789, allocations: 136.2 kB / 333.8 MB, free: 7.641 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.0191, allocations: 0.5777 MB / 334.3 MB, free: 7.035 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002318/0.01933, allocations: 301.9 kB / 334.6 MB, free: 6.688 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.01943, allocations: 72.33 kB / 334.7 MB, free: 6.617 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.02104, allocations: 1.853 MB / 336.6 MB, free: 4.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.02106, allocations: 192 / 336.6 MB, free: 4.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.092e-05/0.02111, allocations: 36.12 kB / 336.6 MB, free: 4.395 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.02112, allocations: 16 kB / 336.6 MB, free: 4.379 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007516/0.02187, allocations: 0.6168 MB / 337.2 MB, free: 3.766 MB / 298.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002268/0.02414, allocations: 1.864 MB / 339.1 MB, free: 1.852 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.02545, allocations: 0.7299 MB / 339.8 MB, free: 1.109 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004075/0.02586, allocations: 326.7 kB / 340.1 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.762e-05/0.0259, allocations: 12.66 kB / 340.2 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.02592, allocations: 51.16 kB / 340.2 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 1.664e-06/0.02593, allocations: 0 / 340.2 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.001623/0.02755, allocations: 1.029 MB / 341.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002507/0.0278, allocations: 0.9489 MB / 342.2 MB, free: 14.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005318/0.02833, allocations: 0.7077 MB / 342.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.432e-05/0.02838, allocations: 49.7 kB / 342.9 MB, free: 13.71 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.02857, allocations: 420.8 kB / 343.3 MB, free: 13.3 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.02869, allocations: 265.6 kB / 343.6 MB, free: 13.04 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.02884, allocations: 154.7 kB / 343.8 MB, free: 12.88 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.755e-05/0.02891, allocations: 334 kB / 344.1 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003584/0.02927, allocations: 334.9 kB / 344.4 MB, free: 12.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007492/0.03002, allocations: 1.553 MB / 346 MB, free: 10.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006958/0.03072, allocations: 0.6639 MB / 346.6 MB, free: 9.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.03072, allocations: 0 / 346.6 MB, free: 9.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001254/0.03198, allocations: 1.032 MB / 347.7 MB, free: 8.504 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.971e-05/0.03201, allocations: 81.11 kB / 347.7 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.03202, allocations: 7.984 kB / 347.7 MB, free: 8.398 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002094/0.03223, allocations: 120.2 kB / 347.9 MB, free: 8.266 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/0.03255, allocations: 155.9 kB / 348 MB, free: 8.113 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00333/0.03588, allocations: 6.674 MB / 354.7 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003669/0.03625, allocations: 95.77 kB / 354.8 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/0.03629, allocations: 31.94 kB / 354.8 MB, free: 0.7969 MB / 314.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.0002165/0.0365, allocations: 225.7 kB / 355 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.673e-05/0.03659, allocations: 99.44 kB / 355.1 MB, free: 480 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.838e-05/0.03668, allocations: 96 kB / 355.2 MB, free: 380 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.03668, allocations: 8 kB / 355.2 MB, free: 372 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.03669, allocations: 0 / 355.2 MB, free: 372 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008018/0.03749, allocations: 0.9777 MB / 356.2 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.03899, allocations: 1.48 MB / 357.7 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.03899, allocations: 4 kB / 357.7 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003472/0.03934, allocations: 147.8 kB / 357.8 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.397e-05/0.03939, allocations: 29.02 kB / 357.9 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.03942, allocations: 15.98 kB / 357.9 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005187/0.03994, allocations: 1.272 MB / 359.2 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.03994, allocations: 0 / 359.2 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.04108, allocations: 1.07 MB / 360.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/0.04129, allocations: 187.1 kB / 360.4 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.941e-05/0.04135, allocations: 20 kB / 360.4 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002921/0.04165, allocations: 39.97 kB / 360.5 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.0417, allocations: 44.56 kB / 360.5 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.04172, allocations: 23.92 kB / 360.5 MB, free: 10.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003782/0.0421, allocations: 0.4951 MB / 361 MB, free: 10.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0421, allocations: 0 / 361 MB, free: 10.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004448/0.04255, allocations: 295.7 kB / 361.3 MB, free: 9.996 MB / 330.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.0001238/0.04267, allocations: 123.2 kB / 361.4 MB, free: 9.867 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00145/0.04412, allocations: 1.441 MB / 362.9 MB, free: 8.301 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.04412, allocations: 0 / 362.9 MB, free: 8.301 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003691/0.04449, allocations: 398.3 kB / 363.3 MB, free: 7.902 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006092/0.0451, allocations: 274.9 kB / 363.5 MB, free: 7.633 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.04679, allocations: 1.62 MB / 365.2 MB, free: 5.977 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.04703, allocations: 389.2 kB / 365.5 MB, free: 5.559 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.0472, allocations: 88.47 kB / 365.6 MB, free: 5.473 MB / 330.7 MB Notification: Performance of SimCode: time 5.41e-07/0.0472, allocations: 0 / 365.6 MB, free: 5.473 MB / 330.7 MB Notification: Performance of Templates: time 0.01629/0.06349, allocations: 24.52 MB / 390.1 MB, free: 13.06 MB / 362.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.838648457080126]