Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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.Air.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",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.001072/0.001072, allocations: 102.9 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.001043/0.001043, allocations: 191.9 kB / 18.51 MB, free: 4.504 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.313/1.313, 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.001248/0.001248, allocations: 51.92 kB / 280.8 MB, free: 3.062 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07967/0.08093, allocations: 46.63 MB / 327.4 MB, free: 4.363 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.3724/0.4534, allocations: 186.6 MB / 0.5019 GB, free: 12.26 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006649/0.4601, allocations: 4.782 MB / 0.5066 GB, free: 7.461 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003731/0.4605, allocations: 4 kB / 0.5066 GB, free: 7.457 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008366/0.4614, allocations: 250.5 kB / 0.5068 GB, free: 7.211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009382/0.4624, allocations: 373.8 kB / 0.5072 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007288/0.4697, allocations: 2.868 MB / 0.51 GB, free: 3.969 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001325/0.471, allocations: 1.173 MB / 0.5111 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003164/0.4714, allocations: 153.1 kB / 0.5113 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003397/0.4748, allocations: 1.445 MB / 0.5127 GB, free: 1.191 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007593/0.4755, allocations: 422.6 kB / 0.5131 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001685/0.4757, allocations: 64 kB / 0.5132 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007458/0.4832, allocations: 4.079 MB / 0.5172 GB, free: 12.63 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003671/0.4836, allocations: 239.5 kB / 0.5174 GB, free: 12.39 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000567/0.4842, allocations: 318.9 kB / 0.5177 GB, free: 12.08 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005728/0.4899, allocations: 2.892 MB / 0.5205 GB, free: 9.184 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4899, allocations: 4 kB / 0.5205 GB, free: 9.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4899, allocations: 0 / 0.5205 GB, free: 9.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.848e-05/0.49, allocations: 0 / 0.5205 GB, free: 9.18 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002411/0.4924, allocations: 1.135 MB / 0.5216 GB, free: 7.996 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.4924, allocations: 11.97 kB / 0.5216 GB, free: 7.984 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000111/0.4925, allocations: 86.52 kB / 0.5217 GB, free: 7.891 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003282/0.4929, allocations: 67.42 kB / 0.5218 GB, free: 7.824 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004991/0.4934, allocations: 361.9 kB / 0.5221 GB, free: 7.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/0.4934, allocations: 36.94 kB / 0.5222 GB, free: 7.391 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.287e-05/0.4935, allocations: 40 kB / 0.5222 GB, free: 7.352 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008591/0.4944, allocations: 0.5062 MB / 0.5227 GB, free: 6.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.4944, allocations: 3.984 kB / 0.5227 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.796e-05/0.4945, allocations: 20 kB / 0.5227 GB, free: 6.816 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.4945, allocations: 15.94 kB / 0.5227 GB, free: 6.801 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009059/0.4954, allocations: 0.5934 MB / 0.5233 GB, free: 6.207 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003113/0.4985, allocations: 2.183 MB / 0.5254 GB, free: 3.797 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.4997, allocations: 0.5476 MB / 0.526 GB, free: 3.242 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004025/0.5001, allocations: 262.1 kB / 0.5262 GB, free: 2.984 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005778/0.5007, allocations: 0.697 MB / 0.5269 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.5007, allocations: 39 kB / 0.5269 GB, free: 2.094 MB / 430.1 MB Notification: Performance of pre-optimization done (n=53): time 2.275e-06/0.5008, allocations: 0 / 0.5269 GB, free: 2.094 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.1546/0.6554, allocations: 3.647 MB / 0.5305 GB, free: 166.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.6555, allocations: 59.59 kB / 0.5306 GB, free: 166.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005908/0.6561, allocations: 295.2 kB / 0.5308 GB, free: 166.1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001559/0.6563, allocations: 39.11 kB / 0.5309 GB, free: 166 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.6565, allocations: 190.2 kB / 0.5311 GB, free: 165.9 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002679/0.6567, allocations: 226.7 kB / 0.5313 GB, free: 165.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003027/0.6571, allocations: 126.4 kB / 0.5314 GB, free: 165.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.257e-05/0.6572, allocations: 352.1 kB / 0.5317 GB, free: 165.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007175/0.6579, allocations: 311.4 kB / 0.532 GB, free: 165.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007391/0.6586, allocations: 392.9 kB / 0.5324 GB, free: 165.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/0.6602, allocations: 0.7068 MB / 0.5331 GB, free: 164.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.6602, allocations: 0 / 0.5331 GB, free: 164.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002334/0.6625, allocations: 0.9598 MB / 0.534 GB, free: 164.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.6626, allocations: 6.188 kB / 0.534 GB, free: 164.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.6626, allocations: 0 / 0.534 GB, free: 164.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001704/0.6643, allocations: 336 kB / 0.5344 GB, free: 164.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005821/0.6649, allocations: 120 kB / 0.5345 GB, free: 164.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003224/0.6681, allocations: 3.72 MB / 0.5381 GB, free: 160.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005927/0.6688, allocations: 32.56 kB / 0.5381 GB, free: 160.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.48e-05/0.6688, allocations: 24.86 kB / 0.5382 GB, free: 160.9 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,6), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003099/0.6692, allocations: 198 kB / 0.5383 GB, free: 160.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.6693, allocations: 42.41 kB / 0.5384 GB, free: 160.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002575/0.6719, allocations: 1.022 MB / 0.5394 GB, free: 160.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.6719, allocations: 10.88 kB / 0.5394 GB, free: 160.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.672, allocations: 0.7031 kB / 0.5394 GB, free: 160.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002092/0.6741, allocations: 1.069 MB / 0.5404 GB, free: 159.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003169/0.6772, allocations: 1.703 MB / 0.5421 GB, free: 158.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.6773, allocations: 1.062 kB / 0.5421 GB, free: 158.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005405/0.6778, allocations: 113.8 kB / 0.5422 GB, free: 158.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001786/0.6796, allocations: 376.5 kB / 0.5426 GB, free: 158.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.03e-05/0.6797, allocations: 27.62 kB / 0.5426 GB, free: 158.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001384/0.6811, allocations: 0.8662 MB / 0.5434 GB, free: 158.1 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.6811, allocations: 0 / 0.5434 GB, free: 158.1 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002783/0.6839, allocations: 1.338 MB / 0.5448 GB, free: 157.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.6841, allocations: 120.7 kB / 0.5449 GB, free: 157.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.6842, allocations: 15.12 kB / 0.5449 GB, free: 157.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006291/0.6848, allocations: 44.38 kB / 0.5449 GB, free: 157.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/0.6849, allocations: 43.61 kB / 0.545 GB, free: 157.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.318e-05/0.685, allocations: 30.8 kB / 0.545 GB, free: 157.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002118/0.6852, allocations: 229.1 kB / 0.5452 GB, free: 157.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6852, allocations: 5.375 kB / 0.5452 GB, free: 157.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001307/0.6865, allocations: 453.1 kB / 0.5457 GB, free: 157.2 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[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 (62): * Single equations (assignments): 61 * 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004566/0.6911, allocations: 2.352 MB / 0.5479 GB, free: 156 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002279/0.6934, allocations: 1.059 MB / 0.549 GB, free: 155.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.6934, allocations: 0 / 0.549 GB, free: 155.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008808/0.6943, allocations: 422.8 kB / 0.5494 GB, free: 155.3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.6958, allocations: 312.5 kB / 0.5497 GB, free: 155.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008389/0.7042, allocations: 5.763 MB / 0.5553 GB, free: 150.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.7045, allocations: 0.8532 MB / 0.5561 GB, free: 150 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005157/0.705, allocations: 130.4 kB / 0.5563 GB, free: 149.9 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002132/0.7052, allocations: 163.4 kB / 0.5564 GB, free: 149.7 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.7052, allocations: 0 / 0.5564 GB, free: 149.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04489/0.7501, allocations: 26.85 MB / 0.5826 GB, free: 122.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.47, allocations: 15.69 kB / 0.5827 GB, free: 122.8 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches