Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.0008809/0.0008809, 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.0008023/0.0008023, 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.8338/0.8338, allocations: 173.3 MB / 200.4 MB, free: 9.445 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.IndirectCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 318.4 MB, free: 6.246 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.077e-06/1.022e-05, allocations: 10.28 kB / 318.4 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.003691/0.003701, allocations: 4.956 MB / 323.4 MB, free: 1.25 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001954/0.005655, allocations: 1.378 MB / 324.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003003/0.005955, allocations: 23.88 kB / 324.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003956/0.006351, allocations: 198.2 kB / 325 MB, free: 15.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005602/0.006911, allocations: 412.4 kB / 325.4 MB, free: 15.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004135/0.007324, allocations: 263.5 kB / 325.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.008341, allocations: 1.415 MB / 327.1 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003443/0.008686, allocations: 263.7 kB / 327.3 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007657/0.009451, allocations: 0.7912 MB / 328.1 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000395/0.009846, allocations: 434.8 kB / 328.5 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.709e-05/0.009943, allocations: 116 kB / 328.7 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.01005, allocations: 124 kB / 328.8 MB, free: 11.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.01017, allocations: 255.1 kB / 329 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003174/0.01048, allocations: 455 kB / 329.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009248/0.01141, allocations: 1.46 MB / 330.9 MB, free: 9.672 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.01141, allocations: 4 kB / 330.9 MB, free: 9.668 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.01141, allocations: 0 / 330.9 MB, free: 9.668 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.01142, allocations: 0 / 330.9 MB, free: 9.668 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.001376/0.0128, allocations: 1.421 MB / 332.4 MB, free: 8.191 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.01283, allocations: 8.922 kB / 332.4 MB, free: 8.184 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000136/0.01297, allocations: 140.6 kB / 332.5 MB, free: 8.039 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.0131, allocations: 140.1 kB / 332.6 MB, free: 7.902 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006337/0.01373, allocations: 0.5777 MB / 333.2 MB, free: 7.297 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001662/0.0139, allocations: 305.9 kB / 333.5 MB, free: 6.941 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.461e-05/0.01396, allocations: 68.38 kB / 333.6 MB, free: 6.875 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.01527, allocations: 1.865 MB / 335.4 MB, free: 4.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.01528, allocations: 192 / 335.4 MB, free: 4.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.736e-05/0.01533, allocations: 35.94 kB / 335.5 MB, free: 4.645 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.01534, allocations: 20 kB / 335.5 MB, free: 4.625 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007499/0.01609, allocations: 0.6207 MB / 336.1 MB, free: 4.004 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.002217/0.01831, allocations: 1.992 MB / 338.1 MB, free: 1.953 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.01962, allocations: 0.7416 MB / 338.9 MB, free: 1.199 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004207/0.02004, allocations: 326.7 kB / 339.2 MB, free: 0.875 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/0.02007, allocations: 12.64 kB / 339.2 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.0201, allocations: 51.16 kB / 339.2 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 1.583e-06/0.0201, allocations: 0 / 339.2 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.001396/0.0215, allocations: 1.029 MB / 340.3 MB, free: 15.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005056/0.022, allocations: 0.9489 MB / 341.2 MB, free: 14.58 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005829/0.02259, allocations: 0.7941 MB / 342 MB, free: 13.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.02263, allocations: 45.7 kB / 342.1 MB, free: 13.72 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.02283, allocations: 417 kB / 342.5 MB, free: 13.31 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.02296, allocations: 265.6 kB / 342.7 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.0231, allocations: 162.5 kB / 342.9 MB, free: 12.88 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.901e-05/0.02318, allocations: 337.9 kB / 343.2 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003541/0.02354, allocations: 340.8 kB / 343.5 MB, free: 12.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007546/0.02429, allocations: 1.549 MB / 345.1 MB, free: 10.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007074/0.025, allocations: 0.6639 MB / 345.8 MB, free: 9.586 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.025, allocations: 0 / 345.8 MB, free: 9.586 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001002/0.026, allocations: 1.027 MB / 346.8 MB, free: 8.504 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.115e-05/0.02604, allocations: 89.23 kB / 346.9 MB, free: 8.398 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.02605, allocations: 0 / 346.9 MB, free: 8.398 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002161/0.02627, allocations: 128.2 kB / 347 MB, free: 8.258 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003313/0.0266, allocations: 155.7 kB / 347.1 MB, free: 8.105 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003268/0.02986, allocations: 6.781 MB / 353.9 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003699/0.03023, allocations: 95.47 kB / 354 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.03027, allocations: 27.98 kB / 354 MB, free: 0.625 MB / 314.7 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000217/0.03049, allocations: 249.6 kB / 354.3 MB, free: 380 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.775e-05/0.03057, allocations: 107.3 kB / 354.4 MB, free: 272 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.03068, allocations: 104.9 kB / 354.5 MB, free: 164 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.03068, allocations: 8 kB / 354.5 MB, free: 156 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.03069, allocations: 0 / 354.5 MB, free: 156 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009878/0.03168, allocations: 0.9699 MB / 355.5 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.03321, allocations: 1.549 MB / 357 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.03322, allocations: 0 / 357 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003512/0.03357, allocations: 159.8 kB / 357.2 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.829e-05/0.03363, allocations: 24.84 kB / 357.2 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.03365, allocations: 12 kB / 357.2 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005034/0.03415, allocations: 1.303 MB / 358.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.03416, allocations: 0 / 358.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.03528, allocations: 1.082 MB / 359.6 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000223/0.03551, allocations: 183.2 kB / 359.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.527e-05/0.03557, allocations: 16 kB / 359.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003059/0.03588, allocations: 39.97 kB / 359.8 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-05/0.03594, allocations: 48.56 kB / 359.9 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.03596, allocations: 16 kB / 359.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004042/0.03636, allocations: 0.5576 MB / 360.5 MB, free: 9.895 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03636, allocations: 0 / 360.5 MB, free: 9.895 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004108/0.03677, allocations: 295.7 kB / 360.7 MB, free: 9.605 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001548/0.03832, allocations: 1.653 MB / 362.4 MB, free: 7.922 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.03944, allocations: 1.434 MB / 363.8 MB, free: 6.367 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.03944, allocations: 3.859 kB / 363.8 MB, free: 6.363 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003787/0.03982, allocations: 398.2 kB / 364.2 MB, free: 5.961 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006308/0.04045, allocations: 283.3 kB / 364.5 MB, free: 5.684 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007391/0.04784, allocations: 8.148 MB / 372.6 MB, free: 13.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.04806, allocations: 398.2 kB / 373 MB, free: 12.84 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002774/0.04834, allocations: 131.5 kB / 373.2 MB, free: 12.71 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003119/0.04865, allocations: 352.4 kB / 373.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of SimCode: time 4.91e-07/0.04865, allocations: 0 / 373.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03978/0.08843, allocations: 29.43 MB / 402.9 MB, free: 15.44 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.637/8.725, allocations: 11.39 kB / 402.9 MB, free: 15.43 MB / 378.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 10.33549246005714]