Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001431/0.001431, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001623/0.001623, allocations: 207.6 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 230.5 MB / 258.2 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 63.89 kB / 378.6 MB, free: 3.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2319, allocations: 53.41 MB / 432 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.00637/0.2383, allocations: 5.659 MB / 437.6 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002362/0.2406, allocations: 1.461 MB / 439.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002676/0.2409, allocations: 19.88 kB / 439.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004233/0.2413, allocations: 190.3 kB / 439.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006467/0.242, allocations: 396.7 kB / 439.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004438/0.2424, allocations: 267.6 kB / 440 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001347/0.2438, allocations: 1.362 MB / 441.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000404/0.2442, allocations: 275.5 kB / 441.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000537/0.2447, allocations: 0.5216 MB / 442.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006942/0.2454, allocations: 0.5874 MB / 442.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.2455, allocations: 116 kB / 442.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.2457, allocations: 120 kB / 442.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002114/0.2459, allocations: 259.1 kB / 443.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00054/0.2465, allocations: 0.6183 MB / 443.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.2478, allocations: 1.408 MB / 445.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2478, allocations: 0 / 445.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.2478, allocations: 0 / 445.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.2478, allocations: 0 / 445.2 MB, free: 9.387 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.002432/0.2502, allocations: 1.44 MB / 446.6 MB, free: 7.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.2503, allocations: 8.031 kB / 446.6 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.549e-05/0.2503, allocations: 26.14 kB / 446.7 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001755/0.2505, allocations: 132.7 kB / 446.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002027/0.2507, allocations: 140.1 kB / 446.9 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009359/0.2516, allocations: 0.5862 MB / 447.5 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002832/0.2519, allocations: 309.9 kB / 447.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.252, allocations: 84.06 kB / 447.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.2535, allocations: 0.994 MB / 448.9 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.2535, allocations: 0 / 448.9 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-05/0.2536, allocations: 39.98 kB / 448.9 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.2536, allocations: 16 kB / 449 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.2549, allocations: 0.6441 MB / 449.6 MB, free: 4.719 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.003996/0.2589, allocations: 2.641 MB / 452.2 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002362/0.2613, allocations: 0.7742 MB / 453 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007147/0.262, allocations: 347.4 kB / 453.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.885e-05/0.262, allocations: 12.66 kB / 453.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.2621, allocations: 59.16 kB / 453.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of pre-optimization done (n=82): time 2.335e-06/0.2621, allocations: 0 / 453.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of matching and sorting (n=118): time 0.009574/0.2717, allocations: 4.067 MB / 457.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004203/0.2759, allocations: 3.694 MB / 461.2 MB, free: 8.574 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.2769, allocations: 0.7865 MB / 462 MB, free: 7.781 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000121/0.277, allocations: 49.7 kB / 462 MB, free: 7.727 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003374/0.2773, allocations: 417.5 kB / 462.4 MB, free: 7.312 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003843/0.2777, allocations: 432.3 kB / 462.9 MB, free: 6.887 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004121/0.2781, allocations: 234.9 kB / 463.1 MB, free: 6.648 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.2783, allocations: 349.9 kB / 463.4 MB, free: 6.301 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.2793, allocations: 0.5804 MB / 464 MB, free: 5.723 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/0.2807, allocations: 0.9309 MB / 464.9 MB, free: 4.664 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00213/0.2829, allocations: 1.279 MB / 466.2 MB, free: 3.352 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.2829, allocations: 0 / 466.2 MB, free: 3.352 MB / 366.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003378/0.2862, allocations: 1.832 MB / 468 MB, free: 1.465 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.648e-05/0.2863, allocations: 85.11 kB / 468.1 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.2863, allocations: 4 kB / 468.1 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006063/0.2869, allocations: 283.5 kB / 468.4 MB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009543/0.2879, allocations: 215.7 kB / 468.6 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01091/0.2988, allocations: 12.45 MB / 481.1 MB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002186/0.301, allocations: 199.8 kB / 481.3 MB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/0.3011, allocations: 59.91 kB / 481.3 MB, free: 3.105 MB / 382.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 (117): * Single equations (assignments): 103 * Array equations: 2 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (3,1,88.9%), (3,1,88.9%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,1), (3,1), (1,1), (3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005064/0.3016, allocations: 269.6 kB / 481.6 MB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002266/0.3018, allocations: 119.3 kB / 481.7 MB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.3021, allocations: 126.7 kB / 481.8 MB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003174/0.3053, allocations: 1.557 MB / 483.4 MB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.587e-06/0.3053, allocations: 4 kB / 483.4 MB, free: 1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004345/0.3096, allocations: 2.242 MB / 485.6 MB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007577/0.3172, allocations: 4.011 MB / 489.6 MB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.3172, allocations: 0 / 489.6 MB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008987/0.3181, allocations: 195.7 kB / 489.8 MB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002312/0.3204, allocations: 0.8008 MB / 490.6 MB, free: 9.531 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.3205, allocations: 35.95 kB / 490.7 MB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01191/0.3324, allocations: 10.89 MB / 0.4898 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002422/0.3348, allocations: 2.119 MB / 0.4919 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005932/0.3408, allocations: 2.854 MB / 0.4947 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000698/0.3415, allocations: 263.1 kB / 0.4949 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/0.3416, allocations: 32 kB / 0.4949 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.3429, allocations: 103.9 kB / 0.495 GB, free: 8.406 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002931/0.3432, allocations: 116.7 kB / 0.4952 GB, free: 8.293 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.284e-05/0.3433, allocations: 35.95 kB / 0.4952 GB, free: 8.258 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007194/0.344, allocations: 0.5498 MB / 0.4957 GB, free: 7.711 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.344, allocations: 0 / 0.4957 GB, free: 7.711 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001478/0.3455, allocations: 0.5938 MB / 0.4963 GB, free: 7.117 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],heatCapacitor.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 (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(3,1,88.9%), (1,1,100.0%), (3,1,88.9%), (1,1,100.0%), (1,2,100.0%), (5,11,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006073/0.3515, allocations: 3.436 MB / 0.4997 GB, free: 3.625 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003967/0.3555, allocations: 2.586 MB / 0.5022 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.3555, allocations: 3.938 kB / 0.5022 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002679/0.3582, allocations: 1.54 MB / 0.5037 GB, free: 15.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.3596, allocations: 287.3 kB / 0.504 GB, free: 14.99 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01799/0.3776, allocations: 11.24 MB / 0.5149 GB, free: 3.484 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007409/0.3783, allocations: 1.076 MB / 0.516 GB, free: 2.379 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006996/0.379, allocations: 173 kB / 0.5162 GB, free: 2.207 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007347/0.3797, allocations: 467.1 kB / 0.5166 GB, free: 1.75 MB / 430.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3797, allocations: 3.938 kB / 0.5166 GB, free: 1.746 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2806/0.6603, allocations: 38.59 MB / 0.5543 GB, free: 121.1 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.41/15.07, allocations: 4.594 kB / 0.5543 GB, free: 121.1 MB / 462.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.529453525028657]