Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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 4.0.0+maint.om/package.mo", uses=false) 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.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",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.001043/0.001043, allocations: 104.7 kB / 17.06 MB, free: 6.027 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.0009689/0.0009689, allocations: 196 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.254/1.254, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001008, allocations: 39.92 kB / 350.8 MB, free: 3.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2594, allocations: 49.44 MB / 400.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05136/0.3108, allocations: 50.54 MB / 450.8 MB, free: 6.094 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005708/0.3166, allocations: 5.199 MB / 456 MB, free: 0.875 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001923/0.3168, allocations: 4 kB / 456 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007348/0.3176, allocations: 242.5 kB / 456.2 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005681/0.3182, allocations: 362 kB / 456.6 MB, free: 284 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01681/0.335, allocations: 7.113 MB / 463.7 MB, free: 9.164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001264/0.3363, allocations: 1.099 MB / 464.8 MB, free: 8.062 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002336/0.3366, allocations: 145.5 kB / 464.9 MB, free: 7.918 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006106/0.3427, allocations: 3.597 MB / 468.5 MB, free: 4.309 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006879/0.3434, allocations: 402.6 kB / 468.9 MB, free: 3.914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.3435, allocations: 60 kB / 469 MB, free: 3.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01718/0.3607, allocations: 9.92 MB / 478.9 MB, free: 9.922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003898/0.3611, allocations: 219.5 kB / 479.1 MB, free: 9.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005653/0.3617, allocations: 303 kB / 479.4 MB, free: 9.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0124/0.3741, allocations: 5.497 MB / 484.9 MB, free: 3.902 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.3742, allocations: 0 / 484.9 MB, free: 3.902 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3742, allocations: 3.938 kB / 484.9 MB, free: 3.898 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.836e-05/0.3742, allocations: 4 kB / 484.9 MB, free: 3.895 MB / 398.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.003809/0.378, allocations: 1.36 MB / 486.3 MB, free: 2.488 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.3781, allocations: 11.97 kB / 486.3 MB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001276/0.3782, allocations: 86.52 kB / 486.4 MB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003588/0.3786, allocations: 67.45 kB / 486.4 MB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005635/0.3792, allocations: 369.9 kB / 486.8 MB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.3792, allocations: 32.94 kB / 486.8 MB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.242e-05/0.3793, allocations: 44 kB / 486.9 MB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.3806, allocations: 0.5843 MB / 487.5 MB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.3806, allocations: 3.938 kB / 487.5 MB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.956e-05/0.3807, allocations: 20 kB / 487.5 MB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.3807, allocations: 16 kB / 487.5 MB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.382, allocations: 0.7417 MB / 488.2 MB, free: 476 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01601/0.398, allocations: 11.96 MB / 0.4885 GB, free: 2.434 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.3994, allocations: 0.5272 MB / 0.489 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004063/0.3998, allocations: 263.7 kB / 0.4892 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01417/0.414, allocations: 11.9 MB / 0.5009 GB, free: 3.426 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/0.4141, allocations: 39 kB / 0.5009 GB, free: 3.379 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 3.297e-06/0.4141, allocations: 0 / 0.5009 GB, free: 3.379 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.005899/0.42, allocations: 2.128 MB / 0.503 GB, free: 1.156 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.42, allocations: 59.95 kB / 0.503 GB, free: 1.086 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000354/0.4204, allocations: 314.9 kB / 0.5033 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.073e-05/0.4205, allocations: 37.7 kB / 0.5034 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.4206, allocations: 200.4 kB / 0.5036 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.4208, allocations: 189.2 kB / 0.5037 GB, free: 352 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.421, allocations: 122.1 kB / 0.5038 GB, free: 224 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.4211, allocations: 346.8 kB / 0.5042 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003849/0.4215, allocations: 237 kB / 0.5044 GB, free: 15.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006304/0.4222, allocations: 343.3 kB / 0.5047 GB, free: 15.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.4233, allocations: 0.5995 MB / 0.5053 GB, free: 14.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4233, allocations: 0 / 0.5053 GB, free: 14.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001738/0.425, allocations: 0.756 MB / 0.5061 GB, free: 13.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.4251, allocations: 15.88 kB / 0.5061 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.4251, allocations: 4 kB / 0.5061 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004521/0.4255, allocations: 98.52 kB / 0.5062 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004766/0.426, allocations: 127.8 kB / 0.5063 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002528/0.4286, allocations: 3.48 MB / 0.5097 GB, free: 9.828 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/0.4289, allocations: 12 kB / 0.5097 GB, free: 9.816 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.567e-05/0.429, allocations: 31.98 kB / 0.5097 GB, free: 9.785 MB / 446.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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002735/0.4292, allocations: 193.6 kB / 0.5099 GB, free: 9.586 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002908/0.4295, allocations: 47.53 kB / 0.51 GB, free: 9.539 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.431, allocations: 0.8229 MB / 0.5108 GB, free: 8.684 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.4311, allocations: 4 kB / 0.5108 GB, free: 8.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4311, allocations: 3.984 kB / 0.5108 GB, free: 8.676 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001078/0.4322, allocations: 0.7558 MB / 0.5115 GB, free: 7.848 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/0.4343, allocations: 1.301 MB / 0.5128 GB, free: 6.484 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.4343, allocations: 4.062 kB / 0.5128 GB, free: 6.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004315/0.4347, allocations: 95.88 kB / 0.5129 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008745/0.4356, allocations: 152.5 kB / 0.513 GB, free: 6.234 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.838e-05/0.4357, allocations: 19.98 kB / 0.513 GB, free: 6.215 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003863/0.4361, allocations: 0.6406 MB / 0.5137 GB, free: 5.551 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.4361, allocations: 4.031 kB / 0.5137 GB, free: 5.547 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.4377, allocations: 0.9094 MB / 0.5146 GB, free: 4.609 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.4378, allocations: 116.6 kB / 0.5147 GB, free: 4.477 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.026e-05/0.4379, allocations: 16.03 kB / 0.5147 GB, free: 4.461 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003888/0.4383, allocations: 23.98 kB / 0.5147 GB, free: 4.438 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.738e-05/0.4384, allocations: 32.48 kB / 0.5147 GB, free: 4.406 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.007e-05/0.4385, allocations: 35.91 kB / 0.5148 GB, free: 4.371 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002941/0.4388, allocations: 257.9 kB / 0.515 GB, free: 4.117 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4388, allocations: 0 / 0.515 GB, free: 4.117 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00364/0.4424, allocations: 1.312 MB / 0.5163 GB, free: 2.805 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008022/0.4504, allocations: 3.031 MB / 0.5193 GB, free: 15.74 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00155/0.452, allocations: 0.8038 MB / 0.52 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.452, allocations: 0 / 0.52 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005456/0.4526, allocations: 295.1 kB / 0.5203 GB, free: 14.62 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.454, allocations: 273.7 kB / 0.5206 GB, free: 14.36 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009543/0.4636, allocations: 5.29 MB / 0.5258 GB, free: 8.898 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.464, allocations: 0.8287 MB / 0.5266 GB, free: 8.043 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005079/0.4645, allocations: 148.2 kB / 0.5267 GB, free: 7.895 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/0.4648, allocations: 155.4 kB / 0.5269 GB, free: 7.742 MB / 462.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4648, allocations: 0 / 0.5269 GB, free: 7.742 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2763/0.7412, allocations: 50.65 MB / 0.5763 GB, free: 101.9 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.11/14.85, allocations: 15.31 kB / 0.5763 GB, free: 101.8 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches