Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008474/0.0008474, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003942/0.003942, allocations: 160.6 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8515/0.8515, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.78e-05/2.973e-05, allocations: 6.219 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.004336/0.004365, allocations: 4.994 MB / 330.8 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.006436, allocations: 1.413 MB / 332.2 MB, free: 8.977 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000282/0.006718, allocations: 19.88 kB / 332.3 MB, free: 8.957 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003693/0.007087, allocations: 186.3 kB / 332.4 MB, free: 8.773 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005287/0.007616, allocations: 416.3 kB / 332.8 MB, free: 8.363 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003761/0.007992, allocations: 271.5 kB / 333.1 MB, free: 8.098 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009729/0.008965, allocations: 1.42 MB / 334.5 MB, free: 6.676 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003116/0.009277, allocations: 267.6 kB / 334.8 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005805/0.009857, allocations: 0.7912 MB / 335.6 MB, free: 5.602 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003899/0.01025, allocations: 434.8 kB / 336 MB, free: 5.176 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.01036, allocations: 120 kB / 336.1 MB, free: 5.059 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.01047, allocations: 120 kB / 336.2 MB, free: 4.941 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.01063, allocations: 263 kB / 336.5 MB, free: 4.684 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002853/0.01092, allocations: 455.1 kB / 336.9 MB, free: 4.238 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.01222, allocations: 1.453 MB / 338.4 MB, free: 2.781 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.01223, allocations: 0 / 338.4 MB, free: 2.781 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.386e-06/0.01223, allocations: 0 / 338.4 MB, free: 2.781 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.01225, allocations: 0 / 338.4 MB, free: 2.781 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.001658/0.01391, allocations: 1.428 MB / 339.8 MB, free: 1.301 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.01396, allocations: 12.03 kB / 339.8 MB, free: 1.289 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.01411, allocations: 136.1 kB / 340 MB, free: 1.152 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007572/0.01487, allocations: 0.5777 MB / 340.5 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/0.01506, allocations: 309.9 kB / 340.8 MB, free: 196 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.873e-05/0.01514, allocations: 64.38 kB / 340.9 MB, free: 132 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.01644, allocations: 1.854 MB / 342.8 MB, free: 13.94 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.01646, allocations: 4.188 kB / 342.8 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.083e-05/0.01651, allocations: 36.12 kB / 342.8 MB, free: 13.9 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.01652, allocations: 16 kB / 342.8 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007952/0.01732, allocations: 0.6207 MB / 343.4 MB, free: 13.26 MB / 314.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.002713/0.02003, allocations: 1.853 MB / 345.3 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.02141, allocations: 0.7553 MB / 346 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004378/0.02185, allocations: 318.7 kB / 346.4 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.391e-05/0.0219, allocations: 12.66 kB / 346.4 MB, free: 10.28 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.02193, allocations: 47.98 kB / 346.4 MB, free: 10.22 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 3.557e-06/0.02193, allocations: 3.984 kB / 346.4 MB, free: 10.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.001517/0.02345, allocations: 1.025 MB / 347.4 MB, free: 9.172 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002793/0.02373, allocations: 0.9489 MB / 348.4 MB, free: 7.996 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006082/0.02434, allocations: 0.7116 MB / 349.1 MB, free: 7.281 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.201e-05/0.02439, allocations: 45.7 kB / 349.2 MB, free: 7.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/0.0246, allocations: 424.8 kB / 349.6 MB, free: 6.809 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.02475, allocations: 261.6 kB / 349.8 MB, free: 6.551 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.02491, allocations: 154.7 kB / 350 MB, free: 6.395 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.517e-05/0.02499, allocations: 334 kB / 350.3 MB, free: 6.062 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/0.02537, allocations: 339 kB / 350.6 MB, free: 5.711 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.02649, allocations: 1.55 MB / 352.2 MB, free: 3.805 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000732/0.02722, allocations: 0.66 MB / 352.8 MB, free: 3.109 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.02722, allocations: 0 / 352.8 MB, free: 3.109 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001131/0.02836, allocations: 1.031 MB / 353.9 MB, free: 2.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.056e-05/0.02841, allocations: 85.11 kB / 354 MB, free: 1.918 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.02841, allocations: 0 / 354 MB, free: 1.918 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002525/0.02867, allocations: 124.2 kB / 354.1 MB, free: 1.781 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/0.02902, allocations: 155.8 kB / 354.2 MB, free: 1.629 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003602/0.03262, allocations: 6.667 MB / 360.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005948/0.03322, allocations: 95.47 kB / 361 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.03325, allocations: 23.94 kB / 361 MB, free: 10.33 MB / 330.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.0003211/0.03357, allocations: 241.6 kB / 361.2 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.937e-05/0.03367, allocations: 99.42 kB / 361.3 MB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.583e-05/0.03377, allocations: 96.02 kB / 361.4 MB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.03377, allocations: 4 kB / 361.4 MB, free: 9.879 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/0.03378, allocations: 4 kB / 361.4 MB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008468/0.03463, allocations: 0.9738 MB / 362.4 MB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.03625, allocations: 1.464 MB / 363.9 MB, free: 7.281 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.03626, allocations: 240 / 363.9 MB, free: 7.281 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003703/0.03663, allocations: 155.8 kB / 364 MB, free: 7.129 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.339e-05/0.0367, allocations: 32.81 kB / 364.1 MB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.03673, allocations: 12 kB / 364.1 MB, free: 7.082 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005554/0.03728, allocations: 1.276 MB / 365.4 MB, free: 5.703 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.03728, allocations: 0 / 365.4 MB, free: 5.703 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.03876, allocations: 1.078 MB / 366.4 MB, free: 4.605 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002646/0.03902, allocations: 179.2 kB / 366.6 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.38e-05/0.03909, allocations: 23.94 kB / 366.6 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003129/0.0394, allocations: 39.91 kB / 366.7 MB, free: 4.367 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.394e-05/0.03946, allocations: 52.56 kB / 366.7 MB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.03949, allocations: 19.98 kB / 366.7 MB, free: 4.293 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004134/0.0399, allocations: 0.4912 MB / 367.2 MB, free: 3.809 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0399, allocations: 0 / 367.2 MB, free: 3.809 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005799/0.04048, allocations: 299.7 kB / 367.5 MB, free: 3.516 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.0001428/0.04062, allocations: 123.1 kB / 367.6 MB, free: 3.387 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001353/0.04198, allocations: 1.437 MB / 369.1 MB, free: 1.832 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.04198, allocations: 4 kB / 369.1 MB, free: 1.828 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004043/0.04239, allocations: 402.6 kB / 369.5 MB, free: 1.422 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006925/0.04308, allocations: 262.8 kB / 369.7 MB, free: 1.164 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.04505, allocations: 1.62 MB / 371.4 MB, free: 15.51 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.04529, allocations: 389.1 kB / 371.7 MB, free: 15.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.04548, allocations: 84.48 kB / 371.8 MB, free: 15.01 MB / 346.7 MB Notification: Performance of SimCode: time 1.342e-06/0.04548, allocations: 0 / 371.8 MB, free: 15.01 MB / 346.7 MB Notification: Performance of Templates: time 0.01914/0.06462, allocations: 24.51 MB / 396.3 MB, free: 6.594 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.608880419284105]