Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.MoistAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",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.0017/0.0017, allocations: 107.8 kB / 17.06 MB, free: 5.828 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.001928/0.001928, allocations: 195.9 kB / 18 MB, free: 4.965 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.377/1.377, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 51.92 kB / 350.8 MB, free: 3.766 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2319, allocations: 49.43 MB / 400.3 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07272/0.3047, allocations: 65.58 MB / 465.8 MB, free: 7.051 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006999/0.3117, allocations: 5.449 MB / 471.3 MB, free: 1.586 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003178/0.3121, allocations: 11.94 kB / 471.3 MB, free: 1.574 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009474/0.313, allocations: 353.9 kB / 471.6 MB, free: 1.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009119/0.314, allocations: 0.5089 MB / 472.1 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0179/0.3319, allocations: 7.422 MB / 479.6 MB, free: 9.297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001967/0.3339, allocations: 1.555 MB / 481.1 MB, free: 7.738 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003539/0.3342, allocations: 224.8 kB / 481.3 MB, free: 7.508 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009308/0.3352, allocations: 0.623 MB / 482 MB, free: 6.883 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007805/0.336, allocations: 0.5683 MB / 482.5 MB, free: 6.312 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000133/0.3361, allocations: 80 kB / 482.6 MB, free: 6.234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01831/0.3544, allocations: 10.2 MB / 492.8 MB, free: 12.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004718/0.3549, allocations: 315.2 kB / 493.1 MB, free: 11.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006266/0.3556, allocations: 434.4 kB / 493.5 MB, free: 11.28 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01265/0.3683, allocations: 5.962 MB / 499.5 MB, free: 5.305 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3683, allocations: 0 / 499.5 MB, free: 5.305 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3683, allocations: 0 / 499.5 MB, free: 5.305 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.3683, allocations: 0 / 499.5 MB, free: 5.305 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.00388/0.3722, allocations: 1.605 MB / 0.4894 GB, free: 3.645 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.3723, allocations: 11.89 kB / 0.4894 GB, free: 3.633 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001393/0.3724, allocations: 110.5 kB / 0.4895 GB, free: 3.516 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004244/0.3729, allocations: 87.5 kB / 0.4896 GB, free: 3.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006548/0.3735, allocations: 453 kB / 0.49 GB, free: 2.949 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.239e-05/0.3736, allocations: 49.31 kB / 0.4901 GB, free: 2.902 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.747e-05/0.3737, allocations: 60 kB / 0.4901 GB, free: 2.844 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/0.3754, allocations: 0.8069 MB / 0.4909 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.3755, allocations: 0 / 0.4909 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.941e-05/0.3756, allocations: 31.98 kB / 0.4909 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.3756, allocations: 16 kB / 0.4909 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/0.3776, allocations: 1.032 MB / 0.4919 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01814/0.3957, allocations: 12.78 MB / 0.5044 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.3976, allocations: 0.7407 MB / 0.5052 GB, free: 1.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006094/0.3982, allocations: 411.9 kB / 0.5056 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01605/0.4142, allocations: 12.25 MB / 0.5175 GB, free: 2.238 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.237e-05/0.4143, allocations: 43.22 kB / 0.5176 GB, free: 2.188 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.465e-06/0.4143, allocations: 0 / 0.5176 GB, free: 2.188 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.009874/0.4242, allocations: 3.385 MB / 0.5209 GB, free: 14.71 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.4243, allocations: 60.41 kB / 0.5209 GB, free: 14.64 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000429/0.4247, allocations: 360.5 kB / 0.5213 GB, free: 14.28 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.134e-05/0.4248, allocations: 45.64 kB / 0.5213 GB, free: 14.23 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.425, allocations: 241.2 kB / 0.5215 GB, free: 13.99 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002543/0.4253, allocations: 325.2 kB / 0.5218 GB, free: 13.67 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002582/0.4255, allocations: 162.6 kB / 0.522 GB, free: 13.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.4257, allocations: 358.8 kB / 0.5223 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006131/0.4263, allocations: 373.8 kB / 0.5227 GB, free: 12.78 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009541/0.4273, allocations: 496.2 kB / 0.5232 GB, free: 12.26 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001827/0.4291, allocations: 0.906 MB / 0.5241 GB, free: 11.32 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.4291, allocations: 0 / 0.5241 GB, free: 11.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002689/0.4318, allocations: 1.129 MB / 0.5252 GB, free: 10.17 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.4319, allocations: 8 kB / 0.5252 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.4319, allocations: 4 kB / 0.5252 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008176/0.4327, allocations: 163.3 kB / 0.5253 GB, free: 9.988 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007601/0.4335, allocations: 191.9 kB / 0.5255 GB, free: 9.801 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003241/0.4367, allocations: 4.113 MB / 0.5295 GB, free: 5.359 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003945/0.4371, allocations: 20.03 kB / 0.5295 GB, free: 5.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.4372, allocations: 43.98 kB / 0.5296 GB, free: 5.297 MB / 462.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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 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.0003588/0.4376, allocations: 229.9 kB / 0.5298 GB, free: 5.062 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003921/0.438, allocations: 71.61 kB / 0.5299 GB, free: 4.992 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002478/0.4405, allocations: 1.277 MB / 0.5311 GB, free: 3.68 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.4405, allocations: 16 kB / 0.5311 GB, free: 3.664 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.4405, allocations: 0 / 0.5311 GB, free: 3.664 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001947/0.4425, allocations: 1.32 MB / 0.5324 GB, free: 2.211 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003227/0.4457, allocations: 1.953 MB / 0.5343 GB, free: 200 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.4457, allocations: 0 / 0.5343 GB, free: 200 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007045/0.4465, allocations: 171.9 kB / 0.5345 GB, free: 28 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1699/0.6164, allocations: 288.5 kB / 0.5348 GB, free: 138.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001721/0.6166, allocations: 30.95 kB / 0.5348 GB, free: 138.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005929/0.6172, allocations: 1.288 MB / 0.5361 GB, free: 137.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6172, allocations: 1.156 kB / 0.5361 GB, free: 137.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002816/0.62, allocations: 1.422 MB / 0.5374 GB, free: 137.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.6201, allocations: 130.3 kB / 0.5376 GB, free: 137.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.6203, allocations: 26.34 kB / 0.5376 GB, free: 137.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005275/0.6208, allocations: 29.5 kB / 0.5376 GB, free: 137.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.6209, allocations: 60.14 kB / 0.5377 GB, free: 137.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.652e-05/0.621, allocations: 45.33 kB / 0.5377 GB, free: 137.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002818/0.6213, allocations: 276 kB / 0.538 GB, free: 137 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6213, allocations: 1.188 kB / 0.538 GB, free: 137 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002945/0.6242, allocations: 1.417 MB / 0.5394 GB, free: 136.9 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006721/0.631, allocations: 3.605 MB / 0.5429 GB, free: 135.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00171/0.6327, allocations: 1.152 MB / 0.544 GB, free: 135.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.6327, allocations: 3.875 kB / 0.544 GB, free: 135.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007271/0.6335, allocations: 496.8 kB / 0.5445 GB, free: 134.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/0.6352, allocations: 394.1 kB / 0.5449 GB, free: 134.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008769/0.644, allocations: 7.076 MB / 0.5518 GB, free: 129.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.6443, allocations: 0.9128 MB / 0.5527 GB, free: 128.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006133/0.6449, allocations: 209.9 kB / 0.5529 GB, free: 128.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002874/0.6452, allocations: 223.4 kB / 0.5531 GB, free: 128.5 MB / 462.1 MB Notification: Performance of SimCode: time 6.21e-07/0.6452, allocations: 3.938 kB / 0.5531 GB, free: 128.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07984/0.725, allocations: 56.84 MB / 0.6086 GB, free: 71.89 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/14.7, allocations: 4.062 kB / 0.6086 GB, free: 71.89 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches