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.001309/0.001309, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 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.001418/0.001418, allocations: 213.3 kB / 23.75 MB, free: 4.668 MB / 14.72 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 1.441/1.441, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 51.92 kB / 377.8 MB, free: 3.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2419, allocations: 53.36 MB / 431.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007442/0.2493, allocations: 5.664 MB / 436.8 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0031/0.2524, allocations: 1.457 MB / 438.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006924/0.2531, allocations: 15.88 kB / 438.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007065/0.2538, allocations: 194.3 kB / 438.5 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001187/0.255, allocations: 408.6 kB / 438.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006171/0.2556, allocations: 259.6 kB / 439.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001733/0.2574, allocations: 1.362 MB / 440.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004655/0.2578, allocations: 271.8 kB / 440.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006696/0.2585, allocations: 0.5217 MB / 441.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007667/0.2593, allocations: 0.5835 MB / 441.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001728/0.2595, allocations: 120 kB / 442 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.2597, allocations: 120 kB / 442.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000241/0.2599, allocations: 263.1 kB / 442.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000596/0.2605, allocations: 0.6105 MB / 443 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.262, allocations: 1.412 MB / 444.4 MB, free: 9.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.262, allocations: 3.938 kB / 444.4 MB, free: 9.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.262, allocations: 0 / 444.4 MB, free: 9.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.262, allocations: 0 / 444.4 MB, free: 9.527 MB / 350.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.002791/0.2648, allocations: 1.436 MB / 445.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.2649, allocations: 12.03 kB / 445.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002053/0.2651, allocations: 124.6 kB / 445.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000214/0.2653, allocations: 140.2 kB / 446.1 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.2664, allocations: 0.5784 MB / 446.7 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003081/0.2667, allocations: 309.9 kB / 447 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.2668, allocations: 68.38 kB / 447 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.2684, allocations: 0.9861 MB / 448 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.2684, allocations: 0 / 448 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.02e-05/0.2685, allocations: 36 kB / 448 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.2685, allocations: 16 kB / 448.1 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/0.2698, allocations: 0.6246 MB / 448.7 MB, free: 4.949 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.004458/0.2743, allocations: 2.61 MB / 451.3 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0025/0.2768, allocations: 0.7532 MB / 452 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007133/0.2775, allocations: 329 kB / 452.4 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.156e-05/0.2776, allocations: 20.64 kB / 452.4 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/0.2776, allocations: 47.33 kB / 452.4 MB, free: 1.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.595e-06/0.2776, allocations: 3.938 kB / 452.4 MB, free: 1.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002584/0.2802, allocations: 1.029 MB / 453.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005447/0.2807, allocations: 0.9566 MB / 454.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.2819, allocations: 0.7825 MB / 455.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.282, allocations: 45.7 kB / 455.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003985/0.2824, allocations: 425 kB / 455.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002623/0.2826, allocations: 261.6 kB / 455.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002682/0.2829, allocations: 154.7 kB / 456.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.2831, allocations: 341.9 kB / 456.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006087/0.2837, allocations: 261.8 kB / 456.7 MB, free: 12.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009338/0.2846, allocations: 0.5802 MB / 457.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.2859, allocations: 0.6639 MB / 457.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.2859, allocations: 0 / 457.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001946/0.2878, allocations: 0.9513 MB / 458.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.381e-05/0.2879, allocations: 89.05 kB / 458.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.2879, allocations: 4 kB / 458.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003434/0.2882, allocations: 124.2 kB / 459.1 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007089/0.289, allocations: 155.8 kB / 459.2 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006453/0.2954, allocations: 6.817 MB / 466 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.2965, allocations: 107.3 kB / 466.1 MB, free: 2.238 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.277e-05/0.2965, allocations: 24 kB / 466.2 MB, free: 2.215 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.0004425/0.297, allocations: 238.4 kB / 466.4 MB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/0.2971, allocations: 107.4 kB / 466.5 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002037/0.2973, allocations: 104.9 kB / 466.6 MB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.2974, allocations: 4 kB / 466.6 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.2974, allocations: 4 kB / 466.6 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001501/0.2989, allocations: 0.9699 MB / 467.6 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003074/0.3019, allocations: 1.713 MB / 469.3 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.3019, allocations: 4 kB / 469.3 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007828/0.3027, allocations: 151.8 kB / 469.4 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001093/0.3028, allocations: 28.83 kB / 469.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.225e-05/0.3029, allocations: 19.94 kB / 469.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0012/0.3041, allocations: 1.303 MB / 470.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.3041, allocations: 4.031 kB / 470.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002095/0.3062, allocations: 1.078 MB / 471.9 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004443/0.3066, allocations: 191.1 kB / 472.1 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.3067, allocations: 20 kB / 472.1 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006406/0.3074, allocations: 47.95 kB / 472.1 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.286e-05/0.3075, allocations: 40.58 kB / 472.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/0.3075, allocations: 19.98 kB / 472.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007892/0.3083, allocations: 0.5459 MB / 472.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3083, allocations: 0 / 472.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008739/0.3092, allocations: 291.8 kB / 473 MB, free: 11.04 MB / 382.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.002517/0.3117, allocations: 1.668 MB / 474.7 MB, free: 9.332 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002236/0.3139, allocations: 1.355 MB / 476 MB, free: 7.879 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.3139, allocations: 0 / 476 MB, free: 7.879 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007088/0.3146, allocations: 402.2 kB / 476.4 MB, free: 7.473 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.3159, allocations: 283.3 kB / 476.7 MB, free: 7.199 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/0.3288, allocations: 7.853 MB / 484.6 MB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006777/0.3294, allocations: 0.9874 MB / 485.6 MB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005546/0.33, allocations: 123.5 kB / 485.7 MB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005227/0.3305, allocations: 359.3 kB / 486 MB, free: 13.66 MB / 398.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3305, allocations: 0 / 486 MB, free: 13.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0835/0.414, allocations: 26.93 MB / 0.5009 GB, free: 3.191 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.71/15.13, allocations: 10.64 kB / 0.5009 GB, free: 3.184 MB / 414.1 MB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/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: 17.624493760988116]