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.001438/0.001438, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 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.00154/0.00154, allocations: 185 kB / 24.46 MB, free: 3.863 MB / 14.72 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.453/1.453, allocations: 225.7 MB / 253.3 MB, free: 12.85 MB / 206.1 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 0.001609/0.001609, allocations: 44.06 kB / 371.6 MB, free: 9.215 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2668, allocations: 52.19 MB / 423.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006715/0.2735, allocations: 4.982 MB / 428.8 MB, free: 9.473 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002999/0.2765, allocations: 1.371 MB / 430.2 MB, free: 8.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003848/0.2769, allocations: 11.94 kB / 430.2 MB, free: 8.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004987/0.2774, allocations: 206.3 kB / 430.4 MB, free: 7.879 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007897/0.2782, allocations: 392.7 kB / 430.8 MB, free: 7.492 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005513/0.2787, allocations: 263.6 kB / 431 MB, free: 7.234 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001579/0.2803, allocations: 1.365 MB / 432.4 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004474/0.2808, allocations: 263.8 kB / 432.6 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005947/0.2814, allocations: 0.5255 MB / 433.2 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006825/0.282, allocations: 0.5015 MB / 433.7 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001707/0.2822, allocations: 116 kB / 433.8 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.2824, allocations: 120 kB / 433.9 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002365/0.2827, allocations: 259 kB / 434.2 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004953/0.2832, allocations: 0.5096 MB / 434.7 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.2846, allocations: 1.419 MB / 436.1 MB, free: 2.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2846, allocations: 4 kB / 436.1 MB, free: 2.129 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2846, allocations: 4 kB / 436.1 MB, free: 2.125 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.993e-05/0.2846, allocations: 4 kB / 436.1 MB, free: 2.121 MB / 334.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.002559/0.2871, allocations: 1.436 MB / 437.5 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.2872, allocations: 8.922 kB / 437.5 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002084/0.2874, allocations: 132.2 kB / 437.7 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.2885, allocations: 0.5825 MB / 438.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002934/0.2887, allocations: 309.8 kB / 438.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.2889, allocations: 68.38 kB / 438.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.2908, allocations: 1.853 MB / 440.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.2908, allocations: 4 kB / 440.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.691e-05/0.2909, allocations: 35.94 kB / 440.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.389e-05/0.2909, allocations: 16 kB / 440.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.2922, allocations: 0.6129 MB / 441.1 MB, free: 12.61 MB / 350.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.003746/0.296, allocations: 1.863 MB / 443 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002489/0.2985, allocations: 0.7375 MB / 443.7 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007122/0.2992, allocations: 322 kB / 444.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.995e-05/0.2992, allocations: 16.64 kB / 444.1 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.516e-05/0.2993, allocations: 47.22 kB / 444.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 3.426e-06/0.2993, allocations: 0 / 444.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002497/0.3018, allocations: 1.021 MB / 445.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005614/0.3024, allocations: 0.9566 MB / 446.1 MB, free: 7.352 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009645/0.3033, allocations: 0.7116 MB / 446.8 MB, free: 6.629 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.841e-05/0.3034, allocations: 45.7 kB / 446.9 MB, free: 6.578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003645/0.3038, allocations: 428.8 kB / 447.3 MB, free: 6.156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002537/0.304, allocations: 259.6 kB / 447.5 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002736/0.3043, allocations: 162.6 kB / 447.7 MB, free: 5.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3045, allocations: 334 kB / 448 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006257/0.3051, allocations: 339 kB / 448.3 MB, free: 5.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/0.3065, allocations: 1.55 MB / 449.9 MB, free: 3.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.3077, allocations: 0.6561 MB / 450.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3077, allocations: 4 kB / 450.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001907/0.3096, allocations: 1.027 MB / 451.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.832e-05/0.3097, allocations: 85.09 kB / 451.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.3097, allocations: 4.125 kB / 451.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003578/0.31, allocations: 136.2 kB / 451.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006947/0.3107, allocations: 147.8 kB / 451.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005778/0.3165, allocations: 6.682 MB / 458.6 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009989/0.3175, allocations: 87.61 kB / 458.7 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.024e-05/0.3176, allocations: 27.98 kB / 458.7 MB, free: 9.656 MB / 366.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.0004097/0.318, allocations: 233.7 kB / 459 MB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/0.3182, allocations: 99.44 kB / 459.1 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.3183, allocations: 104 kB / 459.2 MB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.3183, allocations: 8 kB / 459.2 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.3183, allocations: 3.938 kB / 459.2 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001445/0.3198, allocations: 0.97 MB / 460.1 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002739/0.3225, allocations: 1.464 MB / 461.6 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3225, allocations: 0 / 461.6 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007488/0.3233, allocations: 159.8 kB / 461.8 MB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001047/0.3234, allocations: 28.84 kB / 461.8 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-05/0.3234, allocations: 12 kB / 461.8 MB, free: 6.406 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/0.3246, allocations: 1.28 MB / 463.1 MB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3246, allocations: 0 / 463.1 MB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/0.3268, allocations: 1.078 MB / 464.2 MB, free: 3.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004758/0.3272, allocations: 183.2 kB / 464.3 MB, free: 3.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.3274, allocations: 20 kB / 464.4 MB, free: 3.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006277/0.328, allocations: 43.83 kB / 464.4 MB, free: 3.688 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.3281, allocations: 48.56 kB / 464.5 MB, free: 3.637 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.752e-05/0.3281, allocations: 16 kB / 464.5 MB, free: 3.621 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006884/0.3288, allocations: 0.4912 MB / 465 MB, free: 3.133 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3288, allocations: 4 kB / 465 MB, free: 3.129 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008433/0.3297, allocations: 299.7 kB / 465.3 MB, free: 2.836 MB / 366.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.0001924/0.3299, allocations: 131.1 kB / 465.4 MB, free: 2.699 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002342/0.3322, allocations: 1.441 MB / 466.8 MB, free: 1.141 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.3322, allocations: 4 kB / 466.8 MB, free: 1.137 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007249/0.3329, allocations: 398.3 kB / 467.2 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.334, allocations: 267.1 kB / 467.5 MB, free: 488 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.3372, allocations: 1.725 MB / 469.2 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.3377, allocations: 389.2 kB / 469.6 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002959/0.338, allocations: 83.42 kB / 469.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of SimCode: time 7.62e-07/0.338, allocations: 0 / 469.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of Templates: time 0.03441/0.3724, allocations: 24.51 MB / 494.2 MB, free: 5.809 MB / 398.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/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: 9.662562611978501]