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.001529/0.001529, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 14.72 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.002709/0.002709, allocations: 200.8 kB / 25.23 MB, free: 3.539 MB / 14.72 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 1.56/1.56, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 59.92 kB / 348.4 MB, free: 9.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2872, allocations: 49.17 MB / 397.6 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006996/0.2942, allocations: 5.632 MB / 403.2 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003708/0.2979, allocations: 1.479 MB / 404.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.299, allocations: 18.78 kB / 404.7 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006701/0.2997, allocations: 198.1 kB / 404.9 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.301, allocations: 405.1 kB / 405.3 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007442/0.3017, allocations: 262.1 kB / 405.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002003/0.3037, allocations: 1.351 MB / 406.9 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005236/0.3042, allocations: 277.1 kB / 407.2 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009525/0.3052, allocations: 0.5217 MB / 407.7 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009188/0.3061, allocations: 0.5858 MB / 408.3 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002053/0.3063, allocations: 117.9 kB / 408.4 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002622/0.3066, allocations: 121 kB / 408.5 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002019/0.3068, allocations: 263.2 kB / 408.8 MB, free: 2.238 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005919/0.3074, allocations: 0.6093 MB / 409.4 MB, free: 1.879 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.3092, allocations: 1.416 MB / 410.8 MB, free: 1.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.3092, allocations: 1 kB / 410.8 MB, free: 1.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3092, allocations: 0 / 410.8 MB, free: 1.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.551e-05/0.3093, allocations: 0 / 410.8 MB, free: 1.25 MB / 318.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.002862/0.3121, allocations: 1.44 MB / 412.3 MB, free: 168 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.3122, allocations: 14.05 kB / 412.3 MB, free: 164 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002535/0.3124, allocations: 131.9 kB / 412.4 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.3137, allocations: 0.5773 MB / 413 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003605/0.3141, allocations: 302.8 kB / 413.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.3142, allocations: 66.38 kB / 413.3 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/0.316, allocations: 0.9767 MB / 414.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.3161, allocations: 1.188 kB / 414.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.814e-05/0.3161, allocations: 37.14 kB / 414.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.437e-05/0.3162, allocations: 16.88 kB / 414.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.3175, allocations: 0.626 MB / 415 MB, free: 14.21 MB / 334.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.005169/0.3227, allocations: 2.583 MB / 417.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002543/0.3252, allocations: 0.7551 MB / 418.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007792/0.326, allocations: 318.3 kB / 418.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.911e-05/0.3261, allocations: 17.95 kB / 418.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.392e-05/0.3261, allocations: 51.41 kB / 418.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 3.597e-06/0.3261, allocations: 0 / 418.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.00278/0.3289, allocations: 1.027 MB / 419.7 MB, free: 11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005567/0.3295, allocations: 0.9655 MB / 420.7 MB, free: 9.824 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.3307, allocations: 0.7851 MB / 421.5 MB, free: 9.383 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001421/0.3309, allocations: 41.95 kB / 421.5 MB, free: 9.344 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003771/0.3312, allocations: 417.2 kB / 421.9 MB, free: 8.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002865/0.3315, allocations: 267.9 kB / 422.2 MB, free: 8.746 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002905/0.3318, allocations: 156.3 kB / 422.4 MB, free: 8.656 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.332, allocations: 331 kB / 422.7 MB, free: 8.332 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005933/0.3326, allocations: 263.5 kB / 422.9 MB, free: 8.207 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009558/0.3335, allocations: 0.5828 MB / 423.5 MB, free: 7.688 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.3348, allocations: 0.6635 MB / 424.2 MB, free: 7.281 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.3348, allocations: 0 / 424.2 MB, free: 7.281 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002081/0.3369, allocations: 0.9535 MB / 425.1 MB, free: 6.719 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.095e-05/0.3369, allocations: 84.61 kB / 425.2 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.337, allocations: 3.078 kB / 425.2 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003863/0.3373, allocations: 127.9 kB / 425.3 MB, free: 6.539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007366/0.3381, allocations: 156.7 kB / 425.5 MB, free: 6.496 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006653/0.3447, allocations: 6.8 MB / 432.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.3461, allocations: 111.2 kB / 432.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.772e-05/0.3462, allocations: 24 kB / 432.4 MB, free: 14.99 MB / 350.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.0005339/0.3467, allocations: 233.7 kB / 432.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000251/0.347, allocations: 115.4 kB / 432.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.3472, allocations: 101.2 kB / 432.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.3472, allocations: 8 kB / 432.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/0.3472, allocations: 0 / 432.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001563/0.3487, allocations: 0.9699 MB / 433.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003313/0.3521, allocations: 1.716 MB / 435.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3521, allocations: 0 / 435.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007936/0.3529, allocations: 159.8 kB / 435.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000114/0.353, allocations: 24.84 kB / 435.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.809e-05/0.353, allocations: 15.98 kB / 435.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.3542, allocations: 1.303 MB / 437.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3542, allocations: 0 / 437.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/0.3566, allocations: 1.086 MB / 438.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007152/0.3573, allocations: 191.1 kB / 438.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.3574, allocations: 20 kB / 438.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006503/0.3581, allocations: 35.97 kB / 438.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.3582, allocations: 52.8 kB / 438.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.014e-05/0.3582, allocations: 16 kB / 438.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008059/0.359, allocations: 0.5498 MB / 439 MB, free: 8.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.359, allocations: 0 / 439 MB, free: 8.086 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009278/0.36, allocations: 291.7 kB / 439.3 MB, free: 7.801 MB / 350.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.000205/0.3602, allocations: 123.1 kB / 439.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00237/0.3625, allocations: 1.362 MB / 440.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/0.3626, allocations: 256 / 440.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007635/0.3633, allocations: 410.2 kB / 441.2 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.3647, allocations: 276.1 kB / 441.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003639/0.3683, allocations: 1.748 MB / 443.2 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006759/0.369, allocations: 0.9757 MB / 444.2 MB, free: 2.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003514/0.3693, allocations: 83.42 kB / 444.3 MB, free: 2.652 MB / 350.1 MB Notification: Performance of SimCode: time 1.693e-06/0.3693, allocations: 0 / 444.3 MB, free: 2.652 MB / 350.1 MB Notification: Performance of Templates: time 0.03553/0.4049, allocations: 24.42 MB / 468.7 MB, free: 10.15 MB / 382.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/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: 10.040812083985656]