Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 113.6 kB / 21.19 MB, free: 0.7031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002413/0.002413, allocations: 208.6 kB / 24.49 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 55.17 kB / 347.2 MB, free: 10.09 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2898, allocations: 49.16 MB / 396.4 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.0299/0.3197, allocations: 24.88 MB / 421.3 MB, free: 7.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004046/0.3238, allocations: 2.519 MB / 423.8 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001993/0.324, allocations: 7.156 kB / 423.8 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006328/0.3246, allocations: 158.5 kB / 423.9 MB, free: 5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007151/0.3253, allocations: 336.2 kB / 424.3 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00275/0.3281, allocations: 1.048 MB / 425.3 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001397/0.3295, allocations: 0.9135 MB / 426.2 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002147/0.3297, allocations: 90.39 kB / 426.3 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005612/0.3353, allocations: 3.112 MB / 429.4 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006426/0.3359, allocations: 300.6 kB / 429.7 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.194e-05/0.336, allocations: 29.84 kB / 429.8 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008143/0.3368, allocations: 252 kB / 430 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.337, allocations: 102.8 kB / 430.1 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002731/0.3372, allocations: 189.6 kB / 430.3 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008953/0.3381, allocations: 0.5744 MB / 430.9 MB, free: 0.918 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3381, allocations: 4 kB / 430.9 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3381, allocations: 0 / 430.9 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.3381, allocations: 0 / 430.9 MB, free: 0.9141 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001013/0.3392, allocations: 0.5674 MB / 431.4 MB, free: 320 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.3392, allocations: 11.98 kB / 431.4 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.044e-05/0.3393, allocations: 66.73 kB / 431.5 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003573/0.3396, allocations: 48.73 kB / 431.6 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004982/0.3401, allocations: 238.2 kB / 431.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.3402, allocations: 21.03 kB / 431.8 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.299e-05/0.3402, allocations: 40.08 kB / 431.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005368/0.3407, allocations: 335.4 kB / 432.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.3408, allocations: 4 kB / 432.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.764e-05/0.3408, allocations: 15.94 kB / 432.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.3408, allocations: 8 kB / 432.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003902/0.3412, allocations: 193.5 kB / 432.4 MB, free: 15.27 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.002111/0.3433, allocations: 1.633 MB / 434 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.3437, allocations: 178.5 kB / 434.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.3438, allocations: 72.83 kB / 434.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.873e-05/0.3439, allocations: 23.92 kB / 434.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.3439, allocations: 38.56 kB / 434.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.703e-06/0.3439, allocations: 4 kB / 434.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.002479/0.3464, allocations: 0.8684 MB / 435.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.3464, allocations: 51.41 kB / 435.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003108/0.3467, allocations: 269.8 kB / 435.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.3468, allocations: 33.7 kB / 435.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.3469, allocations: 176.5 kB / 435.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.347, allocations: 119 kB / 435.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.798e-05/0.3471, allocations: 66.08 kB / 435.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.3473, allocations: 342.8 kB / 436.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.3474, allocations: 88.7 kB / 436.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.3477, allocations: 162.9 kB / 436.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000414/0.3481, allocations: 289.1 kB / 436.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3481, allocations: 0 / 436.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006389/0.3487, allocations: 369.8 kB / 437.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.3487, allocations: 8 kB / 437.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.3488, allocations: 320 / 437.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004107/0.3492, allocations: 100.8 kB / 437.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/0.3494, allocations: 63.91 kB / 437.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006674/0.3501, allocations: 0.6499 MB / 438 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.3503, allocations: 15.94 kB / 438 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/0.3503, allocations: 23.98 kB / 438 MB, free: 9.355 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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): 35 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001833/0.3505, allocations: 153.8 kB / 438.1 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.19e-05/0.3506, allocations: 35.75 kB / 438.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006652/0.3512, allocations: 369.8 kB / 438.5 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3513, allocations: 0 / 438.5 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3513, allocations: 0 / 438.5 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006267/0.3519, allocations: 0.5592 MB / 439.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.3531, allocations: 0.7065 MB / 439.8 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.3531, allocations: 3.984 kB / 439.8 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.3533, allocations: 35.92 kB / 439.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005103/0.3538, allocations: 108.8 kB / 439.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.3538, allocations: 4 kB / 440 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006642/0.3545, allocations: 0.6382 MB / 440.6 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3545, allocations: 3.984 kB / 440.6 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008637/0.3554, allocations: 487.2 kB / 441.1 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/0.3554, allocations: 23.89 kB / 441.1 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.389e-05/0.3555, allocations: 12 kB / 441.1 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.3557, allocations: 11.98 kB / 441.1 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.3558, allocations: 11.97 kB / 441.1 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.129e-05/0.3558, allocations: 19.98 kB / 441.1 MB, free: 5.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002442/0.356, allocations: 197.3 kB / 441.3 MB, free: 5.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.356, allocations: 0 / 441.3 MB, free: 5.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005075/0.3565, allocations: 119.8 kB / 441.5 MB, free: 5.652 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.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 (18): * Single equations (assignments): 17 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001413/0.3579, allocations: 1.05 MB / 442.5 MB, free: 4.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005613/0.3585, allocations: 231.5 kB / 442.7 MB, free: 4.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3585, allocations: 0 / 442.7 MB, free: 4.336 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002992/0.3588, allocations: 120.6 kB / 442.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.3598, allocations: 168.6 kB / 443 MB, free: 4.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004582/0.3644, allocations: 3.104 MB / 446.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.3648, allocations: 0.7606 MB / 446.9 MB, free: 12 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002825/0.3651, allocations: 67.17 kB / 446.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.3653, allocations: 103.3 kB / 447 MB, free: 15.85 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3653, allocations: 0 / 447 MB, free: 15.85 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04863/0.4139, allocations: 10.6 MB / 457.6 MB, free: 5.195 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.11, allocations: 15.92 kB / 457.7 MB, free: 5.18 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Essotherm650/Essotherm650.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.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.597638258943334]