Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001335/0.001335, allocations: 85.58 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001417/0.001417, allocations: 157.5 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 177 MB / 204.1 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.298e-05, allocations: 3.531 kB / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006502/0.006525, allocations: 4.999 MB / 330 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002741/0.009266, allocations: 1.399 MB / 331.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003267/0.009593, allocations: 18.53 kB / 331.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005309/0.01012, allocations: 195 kB / 331.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007925/0.01092, allocations: 421 kB / 332 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005076/0.01142, allocations: 262.5 kB / 332.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001491/0.01292, allocations: 1.418 MB / 333.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004487/0.01336, allocations: 273 kB / 334 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009145/0.01428, allocations: 0.7792 MB / 334.7 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006423/0.01492, allocations: 441.6 kB / 335.2 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001766/0.0151, allocations: 122.6 kB / 335.3 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.01532, allocations: 120.8 kB / 335.4 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002521/0.01557, allocations: 261.4 kB / 335.7 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005329/0.0161, allocations: 448.5 kB / 336.1 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001582/0.01768, allocations: 1.448 MB / 337.6 MB, free: 8.055 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.01769, allocations: 1.094 kB / 337.6 MB, free: 8.055 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.01769, allocations: 0 / 337.6 MB, free: 8.055 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.01771, allocations: 0 / 337.6 MB, free: 8.055 MB / 302.1 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.002679/0.02039, allocations: 1.433 MB / 339 MB, free: 6.957 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.02043, allocations: 13.98 kB / 339 MB, free: 6.953 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002372/0.02067, allocations: 133.7 kB / 339.1 MB, free: 6.852 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.02173, allocations: 0.5816 MB / 339.7 MB, free: 6.242 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003172/0.02205, allocations: 309.9 kB / 340 MB, free: 5.887 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.02216, allocations: 68.38 kB / 340.1 MB, free: 5.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/0.02427, allocations: 1.85 MB / 341.9 MB, free: 3.637 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.02429, allocations: 4.172 kB / 341.9 MB, free: 3.633 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.507e-05/0.02438, allocations: 36.12 kB / 342 MB, free: 3.598 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.0244, allocations: 16 kB / 342 MB, free: 3.582 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.02578, allocations: 0.6168 MB / 342.6 MB, free: 2.965 MB / 302.1 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.003807/0.02958, allocations: 1.856 MB / 344.5 MB, free: 1.062 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002662/0.03224, allocations: 0.7599 MB / 345.2 MB, free: 304 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007519/0.033, allocations: 314.7 kB / 345.5 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.92e-05/0.03305, allocations: 14.52 kB / 345.5 MB, free: 15.97 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.814e-05/0.03309, allocations: 59.09 kB / 345.6 MB, free: 15.9 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 2.204e-06/0.0331, allocations: 0 / 345.6 MB, free: 15.9 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.002559/0.03565, allocations: 1.013 MB / 346.6 MB, free: 14.87 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005202/0.03618, allocations: 0.9605 MB / 347.6 MB, free: 13.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009047/0.03708, allocations: 0.7077 MB / 348.3 MB, free: 12.97 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.764e-05/0.03716, allocations: 45.7 kB / 348.3 MB, free: 12.92 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000357/0.03751, allocations: 424.8 kB / 348.7 MB, free: 12.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/0.03775, allocations: 265.7 kB / 349 MB, free: 12.24 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002874/0.03804, allocations: 158.7 kB / 349.2 MB, free: 12.08 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.03819, allocations: 330 kB / 349.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00065/0.03884, allocations: 339 kB / 349.8 MB, free: 11.4 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/0.04028, allocations: 1.547 MB / 351.4 MB, free: 9.492 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.04155, allocations: 0.66 MB / 352 MB, free: 8.797 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.04156, allocations: 0 / 352 MB, free: 8.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002029/0.04359, allocations: 1.03 MB / 353 MB, free: 7.711 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.54e-05/0.04368, allocations: 89.11 kB / 353.1 MB, free: 7.605 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.04369, allocations: 3.938 kB / 353.1 MB, free: 7.602 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000425/0.04412, allocations: 120.2 kB / 353.3 MB, free: 7.469 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000761/0.04488, allocations: 159.9 kB / 353.4 MB, free: 7.312 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006136/0.05102, allocations: 6.662 MB / 360.1 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.05207, allocations: 95.62 kB / 360.2 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.33e-05/0.05214, allocations: 27.94 kB / 360.2 MB, free: 12 kB / 318.1 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.0004539/0.05259, allocations: 241.8 kB / 360.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.05276, allocations: 99.44 kB / 360.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/0.05297, allocations: 96 kB / 360.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.05298, allocations: 8 kB / 360.6 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.05298, allocations: 7.922 kB / 360.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001573/0.05456, allocations: 0.9661 MB / 361.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002831/0.05739, allocations: 1.472 MB / 363.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.05739, allocations: 0 / 363.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008137/0.0582, allocations: 155.8 kB / 363.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001028/0.05831, allocations: 32.78 kB / 363.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.444e-05/0.05835, allocations: 12 kB / 363.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.05941, allocations: 1.276 MB / 364.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.05942, allocations: 3.938 kB / 364.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/0.06156, allocations: 1.066 MB / 365.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003913/0.06195, allocations: 179.3 kB / 365.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.06207, allocations: 23.98 kB / 365.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006942/0.06277, allocations: 39.95 kB / 365.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.06288, allocations: 52.52 kB / 365.9 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.265e-05/0.06292, allocations: 19.98 kB / 365.9 MB, free: 9.977 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000652/0.06357, allocations: 499 kB / 366.4 MB, free: 9.496 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.06357, allocations: 0 / 366.4 MB, free: 9.496 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008412/0.06441, allocations: 303.7 kB / 366.7 MB, free: 9.199 MB / 334.1 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.0002079/0.06462, allocations: 123.2 kB / 366.8 MB, free: 9.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002201/0.06682, allocations: 1.441 MB / 368.3 MB, free: 7.508 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.06683, allocations: 4 kB / 368.3 MB, free: 7.504 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007132/0.06754, allocations: 398.2 kB / 368.7 MB, free: 7.102 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.06862, allocations: 266.1 kB / 368.9 MB, free: 6.844 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/0.07148, allocations: 1.586 MB / 370.5 MB, free: 5.227 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.07187, allocations: 393.2 kB / 370.9 MB, free: 4.805 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004459/0.07232, allocations: 118.9 kB / 371 MB, free: 4.684 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.07254, allocations: 76.48 kB / 371.1 MB, free: 4.609 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.07254, allocations: 0 / 371.1 MB, free: 4.609 MB / 334.1 MB Notification: Performance of Templates: time 0.03172/0.1043, allocations: 18.57 MB / 389.7 MB, free: 2.441 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.151311334222555]