Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.001465/0.001465, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001641/0.001641, allocations: 211 kB / 24.51 MB, free: 3.922 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.379/1.379, allocations: 230.5 MB / 258.2 MB, free: 7.727 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.SimpleCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 59.91 kB / 378.5 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2182, allocations: 53.4 MB / 431.9 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004811/0.2231, allocations: 3.208 MB / 435.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.2248, allocations: 0.9346 MB / 436 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001827/0.225, allocations: 11.94 kB / 436.1 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.2253, allocations: 95.14 kB / 436.1 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003786/0.2257, allocations: 194.4 kB / 436.3 MB, free: 2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.226, allocations: 123.8 kB / 436.5 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006781/0.2267, allocations: 0.6371 MB / 437.1 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002356/0.2269, allocations: 135.5 kB / 437.2 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.2271, allocations: 251.1 kB / 437.5 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000325/0.2275, allocations: 270.8 kB / 437.7 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.624e-05/0.2275, allocations: 52 kB / 437.8 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.337e-05/0.2276, allocations: 56 kB / 437.8 MB, free: 496 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.2277, allocations: 123.5 kB / 438 MB, free: 372 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002348/0.228, allocations: 239 kB / 438.2 MB, free: 132 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006622/0.2286, allocations: 0.6592 MB / 438.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2286, allocations: 0 / 438.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2286, allocations: 0 / 438.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.2287, allocations: 0 / 438.9 MB, free: 15.47 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001311/0.23, allocations: 0.7828 MB / 439.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.23, allocations: 8.031 kB / 439.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.126e-05/0.23, allocations: 17.17 kB / 439.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001051/0.2301, allocations: 83.67 kB / 439.7 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.2303, allocations: 64.56 kB / 439.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005564/0.2308, allocations: 345.4 kB / 440.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.2309, allocations: 110.7 kB / 440.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.281e-05/0.231, allocations: 40.12 kB / 440.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009064/0.2319, allocations: 0.8473 MB / 441.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.2319, allocations: 3.953 kB / 441.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.912e-05/0.232, allocations: 16 kB / 441.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.232, allocations: 8 kB / 441.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000559/0.2325, allocations: 295.8 kB / 441.5 MB, free: 12.62 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.001943/0.2345, allocations: 1.058 MB / 442.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009986/0.2355, allocations: 335.7 kB / 442.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.2357, allocations: 140.8 kB / 443 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.2358, allocations: 7.938 kB / 443 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.2358, allocations: 38.56 kB / 443 MB, free: 10.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.513e-06/0.2358, allocations: 0 / 443 MB, free: 10.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.00395/0.2398, allocations: 1.644 MB / 444.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002378/0.2421, allocations: 2.347 MB / 447 MB, free: 6.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005049/0.2426, allocations: 449.9 kB / 447.5 MB, free: 6.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.974e-05/0.2427, allocations: 41.69 kB / 447.5 MB, free: 6.223 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.2429, allocations: 237 kB / 447.7 MB, free: 5.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.243, allocations: 190.3 kB / 447.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.2432, allocations: 102.2 kB / 448 MB, free: 5.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.2434, allocations: 366.7 kB / 448.4 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003945/0.2438, allocations: 214.6 kB / 448.6 MB, free: 5.109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007031/0.2445, allocations: 0.7453 MB / 449.3 MB, free: 4.211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007555/0.2452, allocations: 453.1 kB / 449.8 MB, free: 3.758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2452, allocations: 0 / 449.8 MB, free: 3.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001287/0.2465, allocations: 0.7107 MB / 450.5 MB, free: 3.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/0.2466, allocations: 33.69 kB / 450.5 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2466, allocations: 8.031 kB / 450.5 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002866/0.2469, allocations: 123.4 kB / 450.6 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004618/0.2473, allocations: 95.86 kB / 450.7 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004908/0.2522, allocations: 5.545 MB / 456.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005355/0.2528, allocations: 32.02 kB / 456.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.545e-05/0.2528, allocations: 19.98 kB / 456.3 MB, free: 12.7 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (54): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,1,88.9%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002473/0.2531, allocations: 177.7 kB / 456.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.2532, allocations: 55.67 kB / 456.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.2533, allocations: 65.34 kB / 456.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.2533, allocations: 11.94 kB / 456.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.2533, allocations: 8 kB / 456.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001415/0.2547, allocations: 0.9546 MB / 457.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002398/0.2571, allocations: 1.315 MB / 458.9 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.2571, allocations: 3.938 kB / 458.9 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004057/0.2575, allocations: 83.88 kB / 459 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004165/0.2579, allocations: 166.6 kB / 459.2 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.526e-05/0.258, allocations: 11.98 kB / 459.2 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004571/0.2625, allocations: 4.684 MB / 463.9 MB, free: 4.621 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001467/0.264, allocations: 1.626 MB / 465.5 MB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.2658, allocations: 0.9472 MB / 466.4 MB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002442/0.2661, allocations: 99.62 kB / 466.5 MB, free: 1.809 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.129e-05/0.2661, allocations: 20 kB / 466.5 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004231/0.2666, allocations: 27.97 kB / 466.6 MB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.2667, allocations: 48.34 kB / 466.6 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.2667, allocations: 8.438 kB / 466.6 MB, free: 1.707 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003833/0.2671, allocations: 327.1 kB / 466.9 MB, free: 1.391 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2671, allocations: 0 / 466.9 MB, free: 1.391 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006475/0.2677, allocations: 188 kB / 467.1 MB, free: 1.207 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 ($STATESET1.x,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 (43): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,1,88.9%), (1,1,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002117/0.2699, allocations: 1.526 MB / 468.7 MB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001663/0.2715, allocations: 1.021 MB / 469.7 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2715, allocations: 0 / 469.7 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009635/0.2725, allocations: 0.6077 MB / 470.3 MB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007573/0.2732, allocations: 141.7 kB / 470.4 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007717/0.281, allocations: 5.395 MB / 475.8 MB, free: 8.215 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.2812, allocations: 255.9 kB / 476.1 MB, free: 7.941 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002971/0.2815, allocations: 76.73 kB / 476.1 MB, free: 7.863 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002825/0.2818, allocations: 183.4 kB / 476.3 MB, free: 7.684 MB / 382.1 MB Notification: Performance of SimCode: time 8.91e-07/0.2818, allocations: 0 / 476.3 MB, free: 7.684 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05327/0.3351, allocations: 17.74 MB / 494.1 MB, free: 6.289 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/13.66, allocations: 8.062 kB / 494.1 MB, free: 6.281 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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: 15.989679554011673]