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.004236/0.004236, allocations: 100.6 kB / 21.96 MB, free: 5.211 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.001254/0.001254, allocations: 209.5 kB / 25.25 MB, free: 3.145 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.263/1.263, allocations: 207.7 MB / 236.1 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 179] 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="cs",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="cs",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.00158/0.00158, allocations: 52.2 kB / 348 MB, free: 9.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2192, allocations: 49.16 MB / 397.2 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.0224/0.2416, allocations: 22.33 MB / 419.5 MB, free: 9.758 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003227/0.2448, allocations: 2.318 MB / 421.8 MB, free: 7.953 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.2449, allocations: 6.719 kB / 421.8 MB, free: 7.949 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004773/0.2454, allocations: 160.6 kB / 422 MB, free: 7.816 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005906/0.246, allocations: 333.1 kB / 422.3 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002241/0.2482, allocations: 1.05 MB / 423.4 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009249/0.2492, allocations: 0.9239 MB / 424.3 MB, free: 6.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.2493, allocations: 82.61 kB / 424.4 MB, free: 6.289 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004385/0.2537, allocations: 3.12 MB / 427.5 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004173/0.2541, allocations: 285.6 kB / 427.8 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.055e-05/0.2542, allocations: 30.5 kB / 427.8 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006115/0.2548, allocations: 261.1 kB / 428.1 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.2549, allocations: 99.59 kB / 428.1 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002214/0.2551, allocations: 163.4 kB / 428.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006835/0.2558, allocations: 0.5761 MB / 428.9 MB, free: 3.496 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2558, allocations: 4 kB / 428.9 MB, free: 3.492 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2558, allocations: 0 / 428.9 MB, free: 3.492 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.2558, allocations: 0 / 428.9 MB, free: 3.492 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.0008041/0.2566, allocations: 0.5597 MB / 429.4 MB, free: 2.898 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.2567, allocations: 15.98 kB / 429.5 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.152e-05/0.2567, allocations: 8.844 kB / 429.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.05e-05/0.2568, allocations: 58.73 kB / 429.5 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003372/0.2571, allocations: 48.73 kB / 429.6 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004265/0.2575, allocations: 249.8 kB / 429.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.2575, allocations: 17.03 kB / 429.8 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.443e-05/0.2576, allocations: 32.06 kB / 429.9 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006337/0.2582, allocations: 0.5535 MB / 430.4 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.2582, allocations: 4 kB / 430.4 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.718e-05/0.2583, allocations: 12 kB / 430.4 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.2583, allocations: 11.94 kB / 430.4 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003183/0.2586, allocations: 189.5 kB / 430.6 MB, free: 1.582 MB / 334.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.001837/0.2604, allocations: 1.445 MB / 432.1 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.2608, allocations: 187.8 kB / 432.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.2609, allocations: 76.81 kB / 432.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.385e-05/0.261, allocations: 19.98 kB / 432.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.261, allocations: 38.56 kB / 432.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.353e-06/0.261, allocations: 0 / 432.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.002399/0.2634, allocations: 0.8723 MB / 433.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.2634, allocations: 55.41 kB / 433.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.2637, allocations: 265.8 kB / 433.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.2637, allocations: 29.7 kB / 433.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.2639, allocations: 188.5 kB / 433.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.486e-05/0.2639, allocations: 107.1 kB / 433.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-05/0.264, allocations: 70.06 kB / 434 MB, free: 14.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.2642, allocations: 342.8 kB / 434.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.2643, allocations: 88.7 kB / 434.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.2645, allocations: 170.8 kB / 434.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003818/0.2649, allocations: 281.2 kB / 434.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2649, allocations: 0 / 434.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006049/0.2655, allocations: 373.8 kB / 435.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.2656, allocations: 8 kB / 435.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2656, allocations: 0 / 435.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003902/0.2659, allocations: 97.09 kB / 435.3 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.2662, allocations: 67.91 kB / 435.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005586/0.2667, allocations: 0.6615 MB / 436 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/0.2669, allocations: 8 kB / 436 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/0.2669, allocations: 19.98 kB / 436.1 MB, free: 11.87 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.000154/0.2671, allocations: 149.8 kB / 436.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.065e-05/0.2672, allocations: 35.75 kB / 436.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006261/0.2678, allocations: 369 kB / 436.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2678, allocations: 11.88 kB / 436.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.2678, allocations: 0 / 436.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005562/0.2684, allocations: 0.5554 MB / 437.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.2694, allocations: 0.6675 MB / 437.8 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.2694, allocations: 4 kB / 437.8 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.2696, allocations: 31.98 kB / 437.9 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004587/0.27, allocations: 104.8 kB / 438 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.27, allocations: 4 kB / 438 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005228/0.2706, allocations: 0.6382 MB / 438.6 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.2706, allocations: 3.938 kB / 438.6 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007296/0.2713, allocations: 485.6 kB / 439.1 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.437e-05/0.2714, allocations: 28.02 kB / 439.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/0.2714, allocations: 8 kB / 439.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.2716, allocations: 7.984 kB / 439.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.2717, allocations: 19.97 kB / 439.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.119e-05/0.2717, allocations: 19.98 kB / 439.2 MB, free: 8.516 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002019/0.2719, allocations: 193.2 kB / 439.4 MB, free: 8.328 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2719, allocations: 0 / 439.4 MB, free: 8.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004035/0.2723, allocations: 115.8 kB / 439.5 MB, free: 8.215 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.001153/0.2734, allocations: 1.057 MB / 440.5 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000459/0.2739, allocations: 239.4 kB / 440.8 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2739, allocations: 0 / 440.8 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000258/0.2742, allocations: 123.7 kB / 440.9 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008292/0.275, allocations: 161.5 kB / 441 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/0.2787, allocations: 3.096 MB / 444.1 MB, free: 3.359 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.2788, allocations: 159.9 kB / 444.3 MB, free: 3.184 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002154/0.2791, allocations: 63.19 kB / 444.4 MB, free: 3.125 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.2792, allocations: 99.39 kB / 444.4 MB, free: 3.031 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2792, allocations: 0 / 444.4 MB, free: 3.031 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03402/0.3132, allocations: 10.9 MB / 455.3 MB, free: 8.055 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.34, allocations: 8.062 kB / 455.4 MB, free: 8.047 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: 14.675017673987895]