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.001858/0.001858, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001597/0.001597, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8823/0.8823, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.653e-06/1.653e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.92e-05/2.085e-05, allocations: 7.266 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003059/0.00308, allocations: 3.214 MB / 327.7 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.004256, allocations: 0.9423 MB / 328.7 MB, free: 11.72 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.004408, allocations: 7.938 kB / 328.7 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000258/0.004666, allocations: 103.1 kB / 328.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.004948, allocations: 206.2 kB / 329 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.005161, allocations: 119.8 kB / 329.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005181/0.005679, allocations: 0.661 MB / 329.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004746/0.006154, allocations: 131.5 kB / 329.9 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.006417, allocations: 367.2 kB / 330.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.006612, allocations: 203.4 kB / 330.4 MB, free: 9.934 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.299e-05/0.006665, allocations: 56 kB / 330.5 MB, free: 9.879 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.916e-05/0.006714, allocations: 52 kB / 330.5 MB, free: 9.828 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.399e-05/0.006778, allocations: 119.6 kB / 330.7 MB, free: 9.711 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.006915, allocations: 203.6 kB / 330.9 MB, free: 9.512 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004516/0.007367, allocations: 0.6658 MB / 331.5 MB, free: 8.844 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.007371, allocations: 0 / 331.5 MB, free: 8.844 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.007372, allocations: 0 / 331.5 MB, free: 8.844 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.007378, allocations: 0 / 331.5 MB, free: 8.844 MB / 298.7 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.0008858/0.008264, allocations: 0.775 MB / 332.3 MB, free: 8.027 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.008305, allocations: 19.97 kB / 332.3 MB, free: 8.008 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.435e-05/0.008399, allocations: 83.61 kB / 332.4 MB, free: 7.918 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.765e-05/0.008477, allocations: 64.56 kB / 332.5 MB, free: 7.855 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004466/0.008923, allocations: 336.8 kB / 332.8 MB, free: 7.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.905e-05/0.009022, allocations: 114.7 kB / 332.9 MB, free: 7.367 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/0.009061, allocations: 32.38 kB / 332.9 MB, free: 7.336 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005837/0.009645, allocations: 0.8331 MB / 333.8 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.009658, allocations: 4.188 kB / 333.8 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.009689, allocations: 19.94 kB / 333.8 MB, free: 6.332 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.009699, allocations: 15.92 kB / 333.8 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003806/0.01008, allocations: 279.8 kB / 334.1 MB, free: 6.043 MB / 298.7 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.001403/0.01148, allocations: 1.031 MB / 335.1 MB, free: 4.961 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006724/0.01215, allocations: 347.1 kB / 335.4 MB, free: 4.609 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.01232, allocations: 124.8 kB / 335.6 MB, free: 4.484 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.01235, allocations: 15.98 kB / 335.6 MB, free: 4.469 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.01237, allocations: 42.5 kB / 335.6 MB, free: 4.418 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 2.254e-06/0.01237, allocations: 0 / 335.6 MB, free: 4.418 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.0007487/0.01312, allocations: 446.9 kB / 336.1 MB, free: 3.969 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001498/0.01327, allocations: 456.9 kB / 336.5 MB, free: 3.418 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006401/0.01391, allocations: 457.8 kB / 337 MB, free: 2.965 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.01394, allocations: 33.7 kB / 337 MB, free: 2.926 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.01407, allocations: 236.6 kB / 337.2 MB, free: 2.688 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.157e-05/0.01413, allocations: 115 kB / 337.3 MB, free: 2.574 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.518e-05/0.01421, allocations: 77.97 kB / 337.4 MB, free: 2.488 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.205e-05/0.01431, allocations: 354.8 kB / 337.8 MB, free: 2.133 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.01447, allocations: 134.3 kB / 337.9 MB, free: 1.996 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/0.01478, allocations: 0.6478 MB / 338.5 MB, free: 1.195 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.0151, allocations: 281.2 kB / 338.8 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.0151, allocations: 0 / 338.8 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004669/0.01557, allocations: 454.2 kB / 339.3 MB, free: 452 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.0156, allocations: 33.7 kB / 339.3 MB, free: 412 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.0156, allocations: 4 kB / 339.3 MB, free: 408 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001322/0.01574, allocations: 49.7 kB / 339.3 MB, free: 352 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.01592, allocations: 71.92 kB / 339.4 MB, free: 280 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/0.01753, allocations: 2.75 MB / 342.2 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.01775, allocations: 43.81 kB / 342.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.01777, allocations: 8.156 kB / 342.2 MB, free: 13.25 MB / 314.7 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.0001658/0.01794, allocations: 170.8 kB / 342.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.328e-05/0.01799, allocations: 55.67 kB / 342.4 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.13e-05/0.01805, allocations: 52.69 kB / 342.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.01806, allocations: 4 kB / 342.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.01806, allocations: 3.938 kB / 342.5 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004263/0.01849, allocations: 0.6492 MB / 343.1 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.01956, allocations: 0.7937 MB / 343.9 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01956, allocations: 0 / 343.9 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.01975, allocations: 71.83 kB / 344 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.01975, allocations: 4 kB / 344 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.01976, allocations: 4 kB / 344 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.01977, allocations: 4.094 kB / 344 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01977, allocations: 11.88 kB / 344 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005084/0.02028, allocations: 0.5212 MB / 344.5 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.02039, allocations: 87.52 kB / 344.6 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/0.02043, allocations: 12 kB / 344.6 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.02059, allocations: 15.98 kB / 344.7 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.02062, allocations: 19.95 kB / 344.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.02063, allocations: 8 kB / 344.7 MB, free: 10.58 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002455/0.02088, allocations: 323.1 kB / 345 MB, free: 10.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02088, allocations: 0 / 345 MB, free: 10.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003348/0.02122, allocations: 131.9 kB / 345.1 MB, free: 10.14 MB / 314.7 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.0007616/0.02198, allocations: 1.073 MB / 346.2 MB, free: 9.035 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006263/0.0226, allocations: 0.5725 MB / 346.8 MB, free: 8.418 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.02261, allocations: 0 / 346.8 MB, free: 8.418 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.02275, allocations: 119.8 kB / 346.9 MB, free: 8.301 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.02319, allocations: 134 kB / 347 MB, free: 8.172 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004299/0.02748, allocations: 4.333 MB / 351.4 MB, free: 3.711 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/0.02762, allocations: 220.3 kB / 351.6 MB, free: 3.469 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001832/0.02781, allocations: 60.34 kB / 351.6 MB, free: 3.406 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.02797, allocations: 160.5 kB / 351.8 MB, free: 3.25 MB / 314.7 MB Notification: Performance of SimCode: time 1.152e-06/0.02797, allocations: 0 / 351.8 MB, free: 3.25 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03279/0.06076, allocations: 14.47 MB / 366.3 MB, free: 5.062 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.97/8.031, allocations: 23.16 kB / 366.3 MB, free: 5.043 MB / 330.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins/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: 9.670299642719328]