Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008218/0.0008218, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007202/0.0007202, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8427/0.8427, allocations: 173.3 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 318.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.334e-05, allocations: 2.281 kB / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003191/0.003215, allocations: 3.189 MB / 321.6 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.004397, allocations: 0.8956 MB / 322.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.004561, allocations: 15.88 kB / 322.5 MB, free: 2.242 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004124/0.004974, allocations: 114.9 kB / 322.6 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002665/0.00524, allocations: 198.3 kB / 322.8 MB, free: 1.934 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.005435, allocations: 127.8 kB / 323 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005426/0.005977, allocations: 0.6647 MB / 323.6 MB, free: 1.145 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.00618, allocations: 123.4 kB / 323.7 MB, free: 1.02 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000366/0.006546, allocations: 367.2 kB / 324.1 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.006782, allocations: 203.4 kB / 324.3 MB, free: 472 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.978e-05/0.006841, allocations: 52 kB / 324.3 MB, free: 420 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.397e-05/0.006895, allocations: 56 kB / 324.4 MB, free: 364 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.999e-05/0.006965, allocations: 115.6 kB / 324.5 MB, free: 248 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.00711, allocations: 207.6 kB / 324.7 MB, free: 40 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004678/0.007578, allocations: 0.6658 MB / 325.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.00758, allocations: 4 kB / 325.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.007581, allocations: 4 kB / 325.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.007589, allocations: 0 / 325.4 MB, free: 15.36 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.0009235/0.008513, allocations: 0.7743 MB / 326.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.008562, allocations: 12.92 kB / 326.2 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003973/0.008959, allocations: 83.67 kB / 326.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.259e-05/0.009052, allocations: 64.61 kB / 326.3 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.009472, allocations: 340.7 kB / 326.7 MB, free: 14.03 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-05/0.009566, allocations: 106.7 kB / 326.8 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.867e-05/0.009604, allocations: 36.38 kB / 326.8 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005623/0.01017, allocations: 0.8439 MB / 327.6 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.01018, allocations: 192 / 327.6 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.0102, allocations: 19.94 kB / 327.7 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.01021, allocations: 8 kB / 327.7 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003649/0.01058, allocations: 283.8 kB / 327.9 MB, free: 12.57 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.001281/0.01186, allocations: 1.031 MB / 329 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006398/0.0125, allocations: 335.4 kB / 329.3 MB, free: 11.15 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.01265, allocations: 132.8 kB / 329.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.01268, allocations: 4 kB / 329.4 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.0127, allocations: 38.56 kB / 329.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.442e-06/0.0127, allocations: 0 / 329.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.0006702/0.01337, allocations: 466.8 kB / 329.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/0.0135, allocations: 441 kB / 330.4 MB, free: 9.961 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003291/0.01383, allocations: 453.9 kB / 330.8 MB, free: 9.508 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.01387, allocations: 37.7 kB / 330.8 MB, free: 9.465 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.01398, allocations: 240.6 kB / 331.1 MB, free: 9.223 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.093e-05/0.01404, allocations: 119 kB / 331.2 MB, free: 9.105 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.112e-05/0.01412, allocations: 77.95 kB / 331.3 MB, free: 9.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.586e-05/0.01422, allocations: 354.8 kB / 331.6 MB, free: 8.664 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.01437, allocations: 138.3 kB / 331.7 MB, free: 8.523 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003349/0.01471, allocations: 0.6584 MB / 332.4 MB, free: 7.719 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.01501, allocations: 272.6 kB / 332.7 MB, free: 7.441 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01501, allocations: 0 / 332.7 MB, free: 7.441 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000684/0.01569, allocations: 450.9 kB / 333.1 MB, free: 6.977 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.01572, allocations: 33.73 kB / 333.1 MB, free: 6.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.01572, allocations: 0 / 333.1 MB, free: 6.938 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001197/0.01584, allocations: 49.69 kB / 333.2 MB, free: 6.883 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.016, allocations: 67.91 kB / 333.3 MB, free: 6.816 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.01746, allocations: 2.75 MB / 336 MB, free: 3.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.01764, allocations: 47.7 kB / 336.1 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.01766, allocations: 15.98 kB / 336.1 MB, free: 3.777 MB / 298.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.0001289/0.01779, allocations: 165.8 kB / 336.2 MB, free: 3.605 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.944e-05/0.01784, allocations: 51.67 kB / 336.3 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.266e-05/0.01789, allocations: 48.7 kB / 336.3 MB, free: 3.504 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.0179, allocations: 7.984 kB / 336.3 MB, free: 3.496 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.0179, allocations: 7.938 kB / 336.3 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003999/0.0183, allocations: 0.6542 MB / 337 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007669/0.01907, allocations: 0.7859 MB / 337.8 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01907, allocations: 4 kB / 337.8 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.01924, allocations: 71.83 kB / 337.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.01924, allocations: 0 / 337.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.01926, allocations: 12 kB / 337.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01926, allocations: 4 kB / 337.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01926, allocations: 0 / 337.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004996/0.01976, allocations: 0.5134 MB / 338.4 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.01987, allocations: 99.45 kB / 338.5 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.0199, allocations: 8 kB / 338.5 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.02005, allocations: 19.97 kB / 338.5 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.02008, allocations: 15.97 kB / 338.5 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.02009, allocations: 8 kB / 338.5 MB, free: 1.121 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002223/0.02031, allocations: 327.2 kB / 338.9 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02031, allocations: 0 / 338.9 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002855/0.02059, allocations: 135.9 kB / 339 MB, free: 0.668 MB / 298.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.0009787/0.02157, allocations: 1.073 MB / 340.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005571/0.02213, allocations: 0.5687 MB / 340.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.02213, allocations: 4 kB / 340.6 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.02226, allocations: 115.8 kB / 340.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.02267, allocations: 137.8 kB / 340.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003775/0.02645, allocations: 4.335 MB / 345.2 MB, free: 10.24 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.02658, allocations: 228.4 kB / 345.4 MB, free: 9.992 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001676/0.02675, allocations: 64.34 kB / 345.5 MB, free: 9.926 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.0269, allocations: 164.4 kB / 345.7 MB, free: 9.766 MB / 314.7 MB Notification: Performance of SimCode: time 6.32e-07/0.02691, allocations: 3.938 kB / 345.7 MB, free: 9.762 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02814/0.05505, allocations: 14.46 MB / 360.1 MB, free: 11.6 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.62/7.676, allocations: 4 kB / 360.1 MB, free: 11.59 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.2691914094612]