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.00147/0.00147, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.001545/0.001545, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.448/1.448, allocations: 230.2 MB / 254.5 MB, free: 15.26 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 68.06 kB / 373.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09384/0.09565, allocations: 53.32 MB / 426.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004602/0.1003, allocations: 3.525 MB / 430.2 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.1018, allocations: 0.9774 MB / 431.2 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.1019, allocations: 7.938 kB / 431.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002915/0.1022, allocations: 111 kB / 431.3 MB, free: 396 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003577/0.1026, allocations: 190.4 kB / 431.5 MB, free: 204 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.1028, allocations: 127.8 kB / 431.6 MB, free: 76 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1705/0.2734, allocations: 0.6182 MB / 432.2 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003199/0.2737, allocations: 141.4 kB / 432.3 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003854/0.2741, allocations: 243.8 kB / 432.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003675/0.2744, allocations: 273.6 kB / 432.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.2745, allocations: 53.34 kB / 432.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.2747, allocations: 55.41 kB / 433 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.476e-05/0.2747, allocations: 118 kB / 433.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002203/0.275, allocations: 287.3 kB / 433.3 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005546/0.2755, allocations: 0.6471 MB / 434 MB, free: 7.039 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2755, allocations: 0.8438 kB / 434 MB, free: 7.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2755, allocations: 1.922 kB / 434 MB, free: 7.039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.2755, allocations: 2.719 kB / 434 MB, free: 7.039 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.001177/0.2767, allocations: 0.8563 MB / 434.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.2767, allocations: 9.219 kB / 434.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.181e-05/0.2768, allocations: 79.66 kB / 434.9 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.72e-05/0.2769, allocations: 63.05 kB / 435 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004998/0.2774, allocations: 401.4 kB / 435.4 MB, free: 6.121 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.371e-05/0.2775, allocations: 58.78 kB / 435.5 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.34e-05/0.2776, allocations: 33.53 kB / 435.5 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005868/0.2782, allocations: 476.1 kB / 436 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.2782, allocations: 1.594 kB / 436 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.2782, allocations: 15.38 kB / 436 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.2782, allocations: 7.969 kB / 436 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005342/0.2788, allocations: 286.9 kB / 436.3 MB, free: 5.914 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.001823/0.2806, allocations: 1.305 MB / 437.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.2816, allocations: 424.8 kB / 438 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.2818, allocations: 126.6 kB / 438.1 MB, free: 5.254 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.2819, allocations: 8.641 kB / 438.1 MB, free: 5.254 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.2819, allocations: 42.34 kB / 438.2 MB, free: 5.215 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.583e-06/0.2819, allocations: 4.75 kB / 438.2 MB, free: 5.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001018/0.2829, allocations: 0.6085 MB / 438.8 MB, free: 4.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/0.283, allocations: 447.9 kB / 439.2 MB, free: 4.398 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004465/0.2834, allocations: 451.5 kB / 439.6 MB, free: 4.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.2834, allocations: 37.66 kB / 439.7 MB, free: 4.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.2836, allocations: 235.6 kB / 439.9 MB, free: 4.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.655e-05/0.2836, allocations: 125 kB / 440 MB, free: 3.992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.2837, allocations: 72.78 kB / 440.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.914e-05/0.2838, allocations: 355.8 kB / 440.5 MB, free: 3.617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.284, allocations: 105.7 kB / 440.6 MB, free: 3.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000289/0.2843, allocations: 250 kB / 440.8 MB, free: 3.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004164/0.2847, allocations: 278.9 kB / 441.1 MB, free: 3.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2847, allocations: 0 / 441.1 MB, free: 3.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006207/0.2854, allocations: 421.3 kB / 441.5 MB, free: 3.023 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.2854, allocations: 32.61 kB / 441.5 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2854, allocations: 1.062 kB / 441.5 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001511/0.2855, allocations: 56.66 kB / 441.6 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/0.2859, allocations: 64.03 kB / 441.6 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/0.2875, allocations: 2.965 MB / 444.6 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003609/0.2879, allocations: 47.45 kB / 444.6 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.2879, allocations: 13.66 kB / 444.7 MB, free: 24 kB / 350.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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002249/0.2881, allocations: 163.6 kB / 444.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.701e-05/0.2882, allocations: 53.77 kB / 444.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.2884, allocations: 55.61 kB / 444.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2884, allocations: 3.562 kB / 444.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2884, allocations: 0.5 kB / 444.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000803/0.2892, allocations: 0.6546 MB / 445.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.2905, allocations: 0.9036 MB / 446.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2905, allocations: 1.859 kB / 446.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/0.2909, allocations: 71.55 kB / 446.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.2909, allocations: 1.281 kB / 446.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.2909, allocations: 6.516 kB / 446.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.2909, allocations: 6.156 kB / 446.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2909, allocations: 0.6562 kB / 446.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000886/0.2918, allocations: 0.5162 MB / 447.1 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/0.292, allocations: 165.6 kB / 447.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.283e-05/0.2921, allocations: 7.469 kB / 447.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003006/0.2924, allocations: 20.41 kB / 447.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.143e-05/0.2924, allocations: 25.25 kB / 447.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.2924, allocations: 6.141 kB / 447.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003741/0.2928, allocations: 323.9 kB / 447.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2928, allocations: 0 / 447.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004295/0.2932, allocations: 132.8 kB / 447.8 MB, free: 14 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001205/0.2944, allocations: 1.083 MB / 448.8 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009144/0.2954, allocations: 0.5482 MB / 449.4 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/0.2954, allocations: 1.125 kB / 449.4 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.2956, allocations: 122.1 kB / 449.5 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006297/0.2962, allocations: 128.1 kB / 449.6 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005856/0.3021, allocations: 4.252 MB / 453.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.3025, allocations: 0.8203 MB / 454.7 MB, free: 9.594 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002786/0.3028, allocations: 60.77 kB / 454.8 MB, free: 9.586 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.3031, allocations: 164.1 kB / 454.9 MB, free: 9.469 MB / 366.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3031, allocations: 1.062 kB / 454.9 MB, free: 9.469 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04596/0.349, allocations: 12.82 MB / 467.7 MB, free: 4.867 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.03, allocations: 20.64 kB / 467.8 MB, free: 4.855 MB / 366.1 MB " [Timeout remaining time 648] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.344804044812918]