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.001474/0.001474, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001626/0.001626, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.4/1.4, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001512/0.001512, allocations: 47.92 kB / 377.7 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2354, allocations: 53.36 MB / 431.1 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006516/0.242, allocations: 4.985 MB / 436.1 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002475/0.2444, allocations: 1.41 MB / 437.5 MB, free: 200 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002745/0.2447, allocations: 19.88 kB / 437.5 MB, free: 180 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004664/0.2452, allocations: 190.3 kB / 437.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007372/0.2459, allocations: 396.6 kB / 438.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.2464, allocations: 267.6 kB / 438.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001439/0.2478, allocations: 1.365 MB / 439.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004292/0.2483, allocations: 275.8 kB / 440 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005316/0.2488, allocations: 0.5216 MB / 440.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007415/0.2495, allocations: 0.5913 MB / 441.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001686/0.2497, allocations: 116 kB / 441.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.2499, allocations: 120 kB / 441.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002485/0.2501, allocations: 255.2 kB / 441.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000542/0.2507, allocations: 0.5057 MB / 442.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001404/0.2521, allocations: 1.424 MB / 443.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2521, allocations: 4 kB / 443.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2521, allocations: 0 / 443.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.2521, allocations: 4 kB / 443.5 MB, free: 10.13 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.002677/0.2548, allocations: 1.432 MB / 444.9 MB, free: 8.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.2548, allocations: 12.03 kB / 444.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001954/0.255, allocations: 132.6 kB / 445.1 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000212/0.2552, allocations: 132.2 kB / 445.2 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.2562, allocations: 0.5862 MB / 445.8 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003052/0.2565, allocations: 309.9 kB / 446.1 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.2567, allocations: 68.38 kB / 446.2 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002076/0.2587, allocations: 1.865 MB / 448 MB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.2588, allocations: 0 / 448 MB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.239e-05/0.2588, allocations: 36 kB / 448.1 MB, free: 5.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.2589, allocations: 16 kB / 448.1 MB, free: 5.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.2602, allocations: 0.6207 MB / 448.7 MB, free: 4.457 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.003894/0.2641, allocations: 1.988 MB / 450.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002593/0.2667, allocations: 0.7544 MB / 451.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007167/0.2674, allocations: 323.4 kB / 451.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.343e-05/0.2674, allocations: 8.656 kB / 451.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.339e-05/0.2675, allocations: 51.2 kB / 451.8 MB, free: 1.262 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.305e-06/0.2675, allocations: 1.859 kB / 451.8 MB, free: 1.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002568/0.2701, allocations: 1.025 MB / 452.8 MB, free: 228 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005347/0.2706, allocations: 0.9566 MB / 453.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.2716, allocations: 0.7864 MB / 454.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.498e-05/0.2717, allocations: 49.64 kB / 454.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003682/0.2721, allocations: 436.8 kB / 455 MB, free: 13.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/0.2723, allocations: 257.7 kB / 455.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000287/0.2726, allocations: 162.6 kB / 455.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.2727, allocations: 333.9 kB / 455.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006435/0.2734, allocations: 339 kB / 456.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/0.2748, allocations: 1.55 MB / 457.7 MB, free: 10.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.2761, allocations: 0.66 MB / 458.3 MB, free: 10.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.2761, allocations: 0 / 458.3 MB, free: 10.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001843/0.2779, allocations: 1.035 MB / 459.4 MB, free: 8.965 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.555e-05/0.278, allocations: 89.05 kB / 459.4 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.278, allocations: 0 / 459.4 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003406/0.2783, allocations: 124.2 kB / 459.6 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007486/0.2791, allocations: 159.7 kB / 459.7 MB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006153/0.2852, allocations: 6.773 MB / 466.5 MB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009069/0.2861, allocations: 107.4 kB / 466.6 MB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-05/0.2862, allocations: 24 kB / 466.6 MB, free: 1.086 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.000387/0.2866, allocations: 237.7 kB / 466.9 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.2868, allocations: 111.3 kB / 467 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002004/0.287, allocations: 105.2 kB / 467.1 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.287, allocations: 4 kB / 467.1 MB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.287, allocations: 4 kB / 467.1 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001455/0.2884, allocations: 0.97 MB / 468 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002748/0.2912, allocations: 1.545 MB / 469.6 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2912, allocations: 0 / 469.6 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000805/0.292, allocations: 155.8 kB / 469.7 MB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.754e-05/0.2921, allocations: 24.84 kB / 469.8 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.852e-05/0.2921, allocations: 15.98 kB / 469.8 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/0.2931, allocations: 1.303 MB / 471.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.2931, allocations: 4 kB / 471.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.2951, allocations: 1.086 MB / 472.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003876/0.2955, allocations: 179.2 kB / 472.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.2956, allocations: 23.98 kB / 472.4 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006388/0.2963, allocations: 39.97 kB / 472.4 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.277e-05/0.2964, allocations: 44.8 kB / 472.5 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.513e-05/0.2964, allocations: 24 kB / 472.5 MB, free: 10.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007088/0.2971, allocations: 0.5459 MB / 473 MB, free: 10.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2971, allocations: 0 / 473 MB, free: 10.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007395/0.2979, allocations: 303.7 kB / 473.3 MB, free: 10.06 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.00235/0.3002, allocations: 1.66 MB / 475 MB, free: 8.371 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002188/0.3024, allocations: 1.449 MB / 476.4 MB, free: 6.805 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.3024, allocations: 4 kB / 476.4 MB, free: 6.801 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007191/0.3031, allocations: 394.3 kB / 476.8 MB, free: 6.402 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.3043, allocations: 281.8 kB / 477.1 MB, free: 6.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/0.316, allocations: 8.157 MB / 485.3 MB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.3164, allocations: 394.2 kB / 485.6 MB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005105/0.3169, allocations: 131.5 kB / 485.8 MB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004965/0.3174, allocations: 355.3 kB / 486.1 MB, free: 12.81 MB / 398.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3174, allocations: 0 / 486.1 MB, free: 12.81 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07588/0.3933, allocations: 29.61 MB / 0.5036 GB, free: 15.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/13.68, allocations: 4.062 kB / 0.5036 GB, free: 15.74 MB / 430.1 MB " [Timeout remaining time 646] (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: 16.078168965002988]