Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008025/0.0008025, allocations: 91.61 kB / 22.19 MB, free: 2.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008355/0.0008355, allocations: 163.5 kB / 25.45 MB, free: 8.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8741/0.8741, allocations: 158.6 MB / 187.2 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 299.7 MB, free: 6.926 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.367e-05, allocations: 2.281 kB / 299.7 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.004476/0.0045, allocations: 4.96 MB / 304.7 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002335/0.006835, allocations: 1.43 MB / 306.1 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005414/0.007377, allocations: 11.94 kB / 306.1 MB, free: 496 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003326/0.007709, allocations: 198.3 kB / 306.3 MB, free: 296 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007386/0.008448, allocations: 412.4 kB / 306.7 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004675/0.008915, allocations: 271.5 kB / 307 MB, free: 15.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001289/0.0102, allocations: 1.416 MB / 308.4 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006345/0.01084, allocations: 263.7 kB / 308.6 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009656/0.0118, allocations: 0.7874 MB / 309.4 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004721/0.01228, allocations: 434.8 kB / 309.8 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.01238, allocations: 120 kB / 310 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.01255, allocations: 120 kB / 310.1 MB, free: 12.47 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.01268, allocations: 263.1 kB / 310.3 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003255/0.01301, allocations: 451 kB / 310.8 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.01421, allocations: 1.449 MB / 312.2 MB, free: 10.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.01422, allocations: 4 kB / 312.2 MB, free: 10.31 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.01422, allocations: 0 / 312.2 MB, free: 10.31 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.762e-05/0.01425, allocations: 3.938 kB / 312.2 MB, free: 10.31 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.001506/0.01575, allocations: 1.436 MB / 313.7 MB, free: 8.816 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.01578, allocations: 11.98 kB / 313.7 MB, free: 8.805 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.01591, allocations: 136.2 kB / 313.8 MB, free: 8.672 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006823/0.0166, allocations: 0.5739 MB / 314.4 MB, free: 8.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/0.01675, allocations: 313.8 kB / 314.7 MB, free: 7.711 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-05/0.01681, allocations: 72.36 kB / 314.8 MB, free: 7.641 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.01829, allocations: 1.85 MB / 316.6 MB, free: 5.457 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.0183, allocations: 192 / 316.6 MB, free: 5.457 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.59e-05/0.01834, allocations: 40.12 kB / 316.7 MB, free: 5.418 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.01835, allocations: 16 kB / 316.7 MB, free: 5.402 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007483/0.0191, allocations: 0.6168 MB / 317.3 MB, free: 4.789 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.002116/0.02122, allocations: 1.848 MB / 319.1 MB, free: 2.895 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.02251, allocations: 0.7509 MB / 319.9 MB, free: 2.141 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000411/0.02292, allocations: 314.7 kB / 320.2 MB, free: 1.828 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.809e-05/0.02296, allocations: 16.66 kB / 320.2 MB, free: 1.812 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.02299, allocations: 51.2 kB / 320.3 MB, free: 1.754 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 2.745e-06/0.02299, allocations: 4 kB / 320.3 MB, free: 1.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.001352/0.02434, allocations: 1.017 MB / 321.3 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005195/0.02486, allocations: 0.9527 MB / 322.2 MB, free: 15.53 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005231/0.02539, allocations: 0.7117 MB / 322.9 MB, free: 14.81 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.523e-05/0.02543, allocations: 49.64 kB / 323 MB, free: 14.76 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.02562, allocations: 428.7 kB / 323.4 MB, free: 14.33 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.02574, allocations: 253.8 kB / 323.7 MB, free: 14.08 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.02589, allocations: 158.6 kB / 323.8 MB, free: 13.92 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.796e-05/0.02596, allocations: 338 kB / 324.1 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003503/0.02631, allocations: 335 kB / 324.5 MB, free: 13.24 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000738/0.02705, allocations: 1.546 MB / 326 MB, free: 11.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006993/0.02775, allocations: 0.6717 MB / 326.7 MB, free: 10.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.02775, allocations: 0 / 326.7 MB, free: 10.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001036/0.02879, allocations: 1.027 MB / 327.7 MB, free: 9.547 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.579e-05/0.02884, allocations: 85.11 kB / 327.8 MB, free: 9.445 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.02884, allocations: 0 / 327.8 MB, free: 9.445 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002056/0.02905, allocations: 132.1 kB / 327.9 MB, free: 9.301 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003267/0.02937, allocations: 147.8 kB / 328.1 MB, free: 9.156 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003408/0.03278, allocations: 6.674 MB / 334.7 MB, free: 1.965 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004337/0.03321, allocations: 87.53 kB / 334.8 MB, free: 1.879 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/0.03325, allocations: 31.92 kB / 334.9 MB, free: 1.848 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.0002491/0.0335, allocations: 241.7 kB / 335.1 MB, free: 1.602 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.811e-05/0.03358, allocations: 95.44 kB / 335.2 MB, free: 1.508 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.191e-05/0.03368, allocations: 96 kB / 335.3 MB, free: 1.406 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.03368, allocations: 8 kB / 335.3 MB, free: 1.398 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.03369, allocations: 3.938 kB / 335.3 MB, free: 1.395 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001065/0.03475, allocations: 0.9738 MB / 336.3 MB, free: 320 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.03633, allocations: 1.46 MB / 337.7 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.03634, allocations: 0 / 337.7 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00035/0.03669, allocations: 159.8 kB / 337.9 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.543e-05/0.03674, allocations: 24.84 kB / 337.9 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.03676, allocations: 12 kB / 337.9 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005418/0.03731, allocations: 1.292 MB / 339.2 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.03731, allocations: 0 / 339.2 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.03846, allocations: 1.074 MB / 340.3 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002239/0.03868, allocations: 175.1 kB / 340.5 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.005e-05/0.03874, allocations: 19.98 kB / 340.5 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003256/0.03907, allocations: 43.97 kB / 340.5 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.171e-05/0.03913, allocations: 48.56 kB / 340.6 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.03915, allocations: 16 kB / 340.6 MB, free: 11.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003701/0.03952, allocations: 0.4912 MB / 341.1 MB, free: 11.33 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03952, allocations: 0 / 341.1 MB, free: 11.33 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005072/0.04003, allocations: 303.6 kB / 341.4 MB, free: 11.04 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.0001461/0.04017, allocations: 127.1 kB / 341.5 MB, free: 10.9 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001301/0.04148, allocations: 1.434 MB / 342.9 MB, free: 9.348 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.04148, allocations: 4 kB / 342.9 MB, free: 9.344 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003822/0.04186, allocations: 402.5 kB / 343.3 MB, free: 8.941 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006145/0.04248, allocations: 278.6 kB / 343.6 MB, free: 8.668 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.04419, allocations: 1.604 MB / 345.2 MB, free: 7.027 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.04442, allocations: 389.2 kB / 345.6 MB, free: 6.609 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.04458, allocations: 84.42 kB / 345.7 MB, free: 6.527 MB / 330.7 MB Notification: Performance of SimCode: time 5.31e-07/0.04458, allocations: 0 / 345.7 MB, free: 6.527 MB / 330.7 MB Notification: Performance of Templates: time 0.1493/0.1939, allocations: 24.51 MB / 370.2 MB, free: 51.79 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.7438217382878065]