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.001396/0.001396, allocations: 92.62 kB / 20.96 MB, free: 3.469 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.001408/0.001408, allocations: 149.4 kB / 24.25 MB, free: 180 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 1.434/1.434, allocations: 173.4 MB / 200.8 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 178] 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 2.033e-06/2.033e-06, allocations: 0 / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.076e-05/3.279e-05, allocations: 6.25 kB / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007841/0.007874, allocations: 4.982 MB / 272.3 MB, free: 1.723 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003254/0.01113, allocations: 1.39 MB / 273.7 MB, free: 332 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005267/0.01165, allocations: 11.94 kB / 273.7 MB, free: 320 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005679/0.01222, allocations: 194.3 kB / 273.9 MB, free: 124 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.01335, allocations: 416.6 kB / 274.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006456/0.01399, allocations: 263.5 kB / 274.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002065/0.01606, allocations: 1.42 MB / 276 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005214/0.01658, allocations: 271.6 kB / 276.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.01774, allocations: 0.7796 MB / 277 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008193/0.01856, allocations: 438.7 kB / 277.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002351/0.01879, allocations: 120 kB / 277.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.01903, allocations: 120 kB / 277.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002692/0.01929, allocations: 263.1 kB / 277.9 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006282/0.01992, allocations: 455 kB / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002073/0.022, allocations: 1.449 MB / 279.8 MB, free: 10.13 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.022, allocations: 4 kB / 279.8 MB, free: 10.13 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.02201, allocations: 0 / 279.8 MB, free: 10.13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.02202, allocations: 0 / 279.8 MB, free: 10.13 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.003079/0.0251, allocations: 1.432 MB / 281.3 MB, free: 8.645 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.02514, allocations: 8.031 kB / 281.3 MB, free: 8.637 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003616/0.02551, allocations: 188.2 kB / 281.5 MB, free: 8.453 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.02674, allocations: 0.5856 MB / 282 MB, free: 7.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003746/0.02712, allocations: 305.9 kB / 282.3 MB, free: 7.484 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.02729, allocations: 92.31 kB / 282.4 MB, free: 7.395 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002595/0.02988, allocations: 1.857 MB / 284.3 MB, free: 5.207 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.0299, allocations: 192 / 284.3 MB, free: 5.207 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.585e-05/0.03, allocations: 36.12 kB / 284.3 MB, free: 5.172 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/0.03002, allocations: 16 kB / 284.3 MB, free: 5.156 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/0.03151, allocations: 0.6168 MB / 285 MB, free: 4.539 MB / 266.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.004458/0.03597, allocations: 1.868 MB / 286.8 MB, free: 2.629 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002769/0.03873, allocations: 0.7416 MB / 287.6 MB, free: 1.875 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008252/0.03956, allocations: 326.6 kB / 287.9 MB, free: 1.555 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.455e-05/0.03962, allocations: 20.66 kB / 287.9 MB, free: 1.535 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.851e-05/0.03968, allocations: 53.08 kB / 288 MB, free: 1.473 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.795e-06/0.03969, allocations: 0 / 288 MB, free: 1.473 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.002959/0.04264, allocations: 1.04 MB / 289 MB, free: 424 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1139/0.1565, allocations: 0.9469 MB / 289.9 MB, free: 32.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.1576, allocations: 0.7085 MB / 290.7 MB, free: 32.04 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002213/0.1578, allocations: 45.48 kB / 290.7 MB, free: 32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002791/0.1581, allocations: 424.6 kB / 291.1 MB, free: 31.92 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002158/0.1583, allocations: 259.4 kB / 291.4 MB, free: 31.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002762/0.1585, allocations: 159.1 kB / 291.5 MB, free: 31.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.553e-05/0.1586, allocations: 333.6 kB / 291.8 MB, free: 31.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006466/0.1593, allocations: 335.8 kB / 292.2 MB, free: 31.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.1604, allocations: 1.545 MB / 293.7 MB, free: 29.6 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.1616, allocations: 0.6638 MB / 294.4 MB, free: 29.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.1616, allocations: 1.75 kB / 294.4 MB, free: 29.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001879/0.1635, allocations: 1.06 MB / 295.4 MB, free: 28.65 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.964e-05/0.1635, allocations: 86.11 kB / 295.5 MB, free: 28.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.1635, allocations: 1.188 kB / 295.5 MB, free: 28.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003827/0.1639, allocations: 129 kB / 295.7 MB, free: 28.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007529/0.1647, allocations: 156.5 kB / 295.8 MB, free: 28.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004353/0.169, allocations: 6.685 MB / 302.5 MB, free: 22.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.1701, allocations: 97.88 kB / 302.6 MB, free: 22.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-05/0.1701, allocations: 24.31 kB / 302.6 MB, free: 22.04 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.0004328/0.1706, allocations: 239.6 kB / 302.9 MB, free: 21.85 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/0.1708, allocations: 119.3 kB / 303 MB, free: 21.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/0.171, allocations: 95.52 kB / 303.1 MB, free: 21.72 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.171, allocations: 8.562 kB / 303.1 MB, free: 21.72 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.171, allocations: 2.297 kB / 303.1 MB, free: 21.72 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001309/0.1723, allocations: 0.9713 MB / 304 MB, free: 20.99 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002691/0.175, allocations: 1.464 MB / 305.5 MB, free: 20.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.175, allocations: 2.094 kB / 305.5 MB, free: 20.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008168/0.1758, allocations: 163.5 kB / 305.7 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001089/0.1759, allocations: 22.17 kB / 305.7 MB, free: 20.22 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.593e-05/0.176, allocations: 22.17 kB / 305.7 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006817/0.1766, allocations: 1.271 MB / 307 MB, free: 18.96 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1766, allocations: 7.906 kB / 307 MB, free: 18.96 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/0.1787, allocations: 1.091 MB / 308.1 MB, free: 18.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003835/0.179, allocations: 180.5 kB / 308.3 MB, free: 18.33 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.1792, allocations: 19.95 kB / 308.3 MB, free: 18.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006626/0.1798, allocations: 43.22 kB / 308.3 MB, free: 18.31 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.18, allocations: 47.55 kB / 308.4 MB, free: 18.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.532e-05/0.18, allocations: 22.62 kB / 308.4 MB, free: 18.3 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006862/0.1807, allocations: 0.4946 MB / 308.9 MB, free: 18.08 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1807, allocations: 0 / 308.9 MB, free: 18.08 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009893/0.1817, allocations: 297.3 kB / 309.2 MB, free: 18.04 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.0001618/0.1818, allocations: 131.1 kB / 309.3 MB, free: 17.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002003/0.1838, allocations: 1.438 MB / 310.7 MB, free: 16.87 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.1838, allocations: 2.75 kB / 310.7 MB, free: 16.87 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006467/0.1845, allocations: 407.4 kB / 311.1 MB, free: 16.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.1858, allocations: 273.8 kB / 311.4 MB, free: 16.57 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/0.1884, allocations: 1.624 MB / 313 MB, free: 15.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.1886, allocations: 389.5 kB / 313.4 MB, free: 15.45 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0005016/0.1891, allocations: 120.6 kB / 313.5 MB, free: 15.35 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.1893, allocations: 79.97 kB / 313.6 MB, free: 15.28 MB / 266.7 MB Notification: Performance of SimCode: time 1.363e-06/0.1893, allocations: 2.406 kB / 313.6 MB, free: 15.28 MB / 266.7 MB Notification: Performance of Templates: time 0.02616/0.2155, allocations: 18.66 MB / 332.3 MB, free: 13.29 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=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.052132225013338]