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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 98.88 kB / 17.58 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 191.9 kB / 18.51 MB, free: 4.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.1 MB / 224.4 MB, free: 12.29 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 52.16 kB / 280.8 MB, free: 3.074 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1336, allocations: 46.63 MB / 327.4 MB, free: 4.379 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.045/0.1787, allocations: 24.57 MB / 352 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005392/0.1841, allocations: 2.495 MB / 354.4 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002374/0.1845, allocations: 7.938 kB / 354.5 MB, free: 9.191 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007126/0.1852, allocations: 167 kB / 354.6 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007988/0.1861, allocations: 318.2 kB / 354.9 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003516/0.1897, allocations: 1.017 MB / 355.9 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001281/0.1909, allocations: 0.8952 MB / 356.8 MB, free: 6.797 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004068/0.1914, allocations: 96.67 kB / 356.9 MB, free: 6.707 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006175/0.1975, allocations: 3.06 MB / 360 MB, free: 3.641 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005761/0.1981, allocations: 274.9 kB / 360.3 MB, free: 3.371 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.905e-05/0.1982, allocations: 28 kB / 360.3 MB, free: 3.344 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008151/0.199, allocations: 239.7 kB / 360.5 MB, free: 3.109 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.1992, allocations: 103.7 kB / 360.6 MB, free: 3.008 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001951/0.1994, allocations: 199.1 kB / 360.8 MB, free: 2.812 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.2005, allocations: 0.5765 MB / 361.4 MB, free: 2.234 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.2005, allocations: 0 / 361.4 MB, free: 2.234 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.2005, allocations: 4 kB / 361.4 MB, free: 2.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.2005, allocations: 0 / 361.4 MB, free: 2.23 MB / 302.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.001174/0.2017, allocations: 0.616 MB / 362 MB, free: 1.566 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.2018, allocations: 8.031 kB / 362 MB, free: 1.559 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.932e-05/0.2018, allocations: 66.72 kB / 362.1 MB, free: 1.484 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005284/0.2024, allocations: 48.55 kB / 362.1 MB, free: 1.438 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005564/0.2029, allocations: 299.5 kB / 362.4 MB, free: 1.105 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.203, allocations: 20.92 kB / 362.5 MB, free: 1.086 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.203, allocations: 28.38 kB / 362.5 MB, free: 1.059 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000691/0.2037, allocations: 334.2 kB / 362.8 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.2037, allocations: 3.984 kB / 362.8 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/0.2039, allocations: 15.94 kB / 362.8 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.523e-05/0.204, allocations: 8 kB / 362.8 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003711/0.2044, allocations: 189.5 kB / 363 MB, free: 496 kB / 302.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.00301/0.2074, allocations: 2.115 MB / 365.1 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004918/0.2079, allocations: 190.5 kB / 365.3 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.208, allocations: 80.84 kB / 365.4 MB, free: 13.87 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001697/0.2082, allocations: 259.5 kB / 365.7 MB, free: 13.56 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.2082, allocations: 30.56 kB / 365.7 MB, free: 13.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.322e-06/0.2082, allocations: 0 / 365.7 MB, free: 13.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.004501/0.2127, allocations: 1.026 MB / 366.7 MB, free: 12.42 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.2128, allocations: 55.41 kB / 366.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004792/0.2133, allocations: 266.5 kB / 367 MB, free: 12.08 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.2133, allocations: 29.7 kB / 367.1 MB, free: 12.05 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.2135, allocations: 188.1 kB / 367.2 MB, free: 11.86 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002322/0.2138, allocations: 102.5 kB / 367.3 MB, free: 11.76 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.915e-05/0.2139, allocations: 66.08 kB / 367.4 MB, free: 11.69 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.2141, allocations: 346.8 kB / 367.7 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.2142, allocations: 84.72 kB / 367.8 MB, free: 11.26 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004374/0.2147, allocations: 174.5 kB / 368 MB, free: 11.05 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005969/0.2153, allocations: 285.2 kB / 368.3 MB, free: 10.74 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.2153, allocations: 4 kB / 368.3 MB, free: 10.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000832/0.2161, allocations: 377.6 kB / 368.6 MB, free: 10.36 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.2162, allocations: 4.312 kB / 368.6 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.2162, allocations: 8 kB / 368.7 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006853/0.2169, allocations: 96.78 kB / 368.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.2172, allocations: 67.84 kB / 368.8 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008569/0.2181, allocations: 0.6577 MB / 369.5 MB, free: 9.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.2183, allocations: 15.92 kB / 369.5 MB, free: 9.484 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000165/0.2185, allocations: 19.98 kB / 369.5 MB, free: 9.465 MB / 318.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.0002146/0.2187, allocations: 157.7 kB / 369.7 MB, free: 9.301 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.2189, allocations: 31.66 kB / 369.7 MB, free: 9.27 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009458/0.2199, allocations: 373 kB / 370.1 MB, free: 8.879 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2199, allocations: 4 kB / 370.1 MB, free: 8.875 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.2199, allocations: 0 / 370.1 MB, free: 8.875 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007657/0.2207, allocations: 0.5554 MB / 370.6 MB, free: 8.23 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.2223, allocations: 0.7399 MB / 371.4 MB, free: 7.426 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2223, allocations: 4.062 kB / 371.4 MB, free: 7.422 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.2225, allocations: 39.97 kB / 371.4 MB, free: 7.383 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000682/0.2232, allocations: 100.7 kB / 371.5 MB, free: 7.281 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/0.2234, allocations: 4 kB / 371.5 MB, free: 7.277 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007772/0.2242, allocations: 0.6498 MB / 372.2 MB, free: 6.602 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2242, allocations: 0 / 372.2 MB, free: 6.602 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.2253, allocations: 485.5 kB / 372.6 MB, free: 6.102 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.814e-05/0.2254, allocations: 100.8 kB / 372.7 MB, free: 5.984 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.546e-05/0.2254, allocations: 4 kB / 372.7 MB, free: 5.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.2256, allocations: 8 kB / 372.7 MB, free: 5.973 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.2257, allocations: 15.98 kB / 372.8 MB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.2258, allocations: 15.98 kB / 372.8 MB, free: 5.941 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002977/0.2261, allocations: 198 kB / 373 MB, free: 5.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2261, allocations: 0 / 373 MB, free: 5.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000662/0.2268, allocations: 120 kB / 373.1 MB, free: 5.633 MB / 318.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.001953/0.2288, allocations: 1.066 MB / 374.1 MB, free: 4.531 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007433/0.2295, allocations: 251.6 kB / 374.4 MB, free: 4.285 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.2295, allocations: 4 kB / 374.4 MB, free: 4.281 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002478/0.2298, allocations: 115.9 kB / 374.5 MB, free: 4.168 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.2312, allocations: 173.3 kB / 374.7 MB, free: 4 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00505/0.2362, allocations: 3.098 MB / 377.8 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1845/0.4207, allocations: 0.762 MB / 378.5 MB, free: 56.51 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004453/0.4212, allocations: 61.58 kB / 378.6 MB, free: 56.51 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002539/0.4215, allocations: 93.55 kB / 378.7 MB, free: 56.5 MB / 318.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4215, allocations: 0 / 378.7 MB, free: 56.5 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04802/0.4695, allocations: 10.15 MB / 388.8 MB, free: 53.46 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.47, allocations: 10.14 kB / 388.8 MB, free: 53.45 MB / 318.1 MB (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 --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) 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) Reference file matches