Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001437/0.001437, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001829/0.001829, allocations: 214.2 kB / 24.52 MB, free: 3.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 230.5 MB / 258.2 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 63.89 kB / 378.5 MB, free: 2.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2481, allocations: 53.41 MB / 431.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05407/0.3022, allocations: 45.48 MB / 477.4 MB, free: 8.844 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006372/0.3086, allocations: 4.697 MB / 482.1 MB, free: 4.133 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002547/0.3088, allocations: 7.938 kB / 482.1 MB, free: 4.125 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007126/0.3095, allocations: 230.7 kB / 482.3 MB, free: 3.898 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006865/0.3102, allocations: 381.9 kB / 482.7 MB, free: 3.523 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01646/0.3267, allocations: 7.118 MB / 489.8 MB, free: 12.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001341/0.328, allocations: 1.111 MB / 490.9 MB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.3282, allocations: 101.8 kB / 491 MB, free: 11.19 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006541/0.3348, allocations: 3.599 MB / 494.6 MB, free: 7.582 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006126/0.3354, allocations: 426.6 kB / 495 MB, free: 7.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.962e-05/0.3355, allocations: 60 kB / 495.1 MB, free: 7.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01647/0.352, allocations: 9.649 MB / 0.4929 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003785/0.3523, allocations: 227.5 kB / 0.4931 GB, free: 13.22 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004441/0.3528, allocations: 267.1 kB / 0.4934 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01133/0.3641, allocations: 5.444 MB / 0.4987 GB, free: 7.504 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3641, allocations: 11.88 kB / 0.4987 GB, free: 7.492 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3641, allocations: 0 / 0.4987 GB, free: 7.492 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.152e-05/0.3641, allocations: 0 / 0.4987 GB, free: 7.492 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003437/0.3676, allocations: 1.327 MB / 0.5 GB, free: 6.129 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.3676, allocations: 12.03 kB / 0.5 GB, free: 6.117 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.769e-05/0.3676, allocations: 9 kB / 0.5 GB, free: 6.109 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001039/0.3678, allocations: 86.53 kB / 0.5001 GB, free: 6.016 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003502/0.3681, allocations: 67.64 kB / 0.5002 GB, free: 5.949 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005192/0.3686, allocations: 300.5 kB / 0.5005 GB, free: 5.629 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.3687, allocations: 29 kB / 0.5005 GB, free: 5.602 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.629e-05/0.3687, allocations: 51.94 kB / 0.5005 GB, free: 5.551 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.3702, allocations: 0.8855 MB / 0.5014 GB, free: 4.586 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.3702, allocations: 4 kB / 0.5014 GB, free: 4.582 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.387e-05/0.3703, allocations: 16 kB / 0.5014 GB, free: 4.566 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.3703, allocations: 15.98 kB / 0.5014 GB, free: 4.551 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.3717, allocations: 0.7534 MB / 0.5022 GB, free: 3.797 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01283/0.3845, allocations: 3.662 MB / 0.5058 GB, free: 92 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.3857, allocations: 0.5012 MB / 0.5062 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003917/0.3861, allocations: 245.4 kB / 0.5065 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01048/0.3966, allocations: 2.549 MB / 0.509 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.517e-05/0.3967, allocations: 42.98 kB / 0.509 GB, free: 12.74 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 4.428e-06/0.3967, allocations: 3.984 kB / 0.509 GB, free: 12.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.005735/0.4024, allocations: 1.905 MB / 0.5109 GB, free: 10.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.4025, allocations: 59.91 kB / 0.5109 GB, free: 10.72 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003879/0.4028, allocations: 324.2 kB / 0.5112 GB, free: 10.4 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.349e-05/0.4029, allocations: 37.7 kB / 0.5113 GB, free: 10.36 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.403, allocations: 196.7 kB / 0.5115 GB, free: 10.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/0.4032, allocations: 202.3 kB / 0.5117 GB, free: 9.961 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.4034, allocations: 118.3 kB / 0.5118 GB, free: 9.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.4036, allocations: 350.8 kB / 0.5121 GB, free: 9.488 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003825/0.4039, allocations: 233.2 kB / 0.5123 GB, free: 9.262 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006564/0.4046, allocations: 352.2 kB / 0.5127 GB, free: 8.883 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.4058, allocations: 0.5956 MB / 0.5132 GB, free: 8.254 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.4058, allocations: 4 kB / 0.5133 GB, free: 8.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001874/0.4076, allocations: 0.7558 MB / 0.514 GB, free: 7.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.4077, allocations: 7.938 kB / 0.514 GB, free: 7.473 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.4077, allocations: 4 kB / 0.514 GB, free: 7.469 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004935/0.4082, allocations: 106.8 kB / 0.5141 GB, free: 7.355 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005006/0.4087, allocations: 123.8 kB / 0.5142 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002671/0.4113, allocations: 3.266 MB / 0.5174 GB, free: 3.715 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/0.4117, allocations: 12 kB / 0.5174 GB, free: 3.703 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.411e-05/0.4118, allocations: 31.98 kB / 0.5175 GB, free: 3.672 MB / 430.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.0002923/0.412, allocations: 201.6 kB / 0.5176 GB, free: 3.465 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003017/0.4123, allocations: 43.77 kB / 0.5177 GB, free: 3.422 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001608/0.414, allocations: 0.8153 MB / 0.5185 GB, free: 2.566 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.414, allocations: 4 kB / 0.5185 GB, free: 2.562 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.414, allocations: 3.984 kB / 0.5185 GB, free: 2.559 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001167/0.4151, allocations: 0.7673 MB / 0.5192 GB, free: 1.723 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/0.4172, allocations: 1.176 MB / 0.5204 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.4172, allocations: 4 kB / 0.5204 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004648/0.4177, allocations: 103.8 kB / 0.5205 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009244/0.4186, allocations: 152.7 kB / 0.5206 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.551e-05/0.4187, allocations: 16 kB / 0.5207 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004597/0.4191, allocations: 0.6445 MB / 0.5213 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4191, allocations: 4.094 kB / 0.5213 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.4209, allocations: 0.917 MB / 0.5222 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.896e-05/0.4209, allocations: 35.8 kB / 0.5222 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.536e-05/0.421, allocations: 12 kB / 0.5222 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003957/0.4214, allocations: 19.98 kB / 0.5222 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.763e-05/0.4215, allocations: 36.38 kB / 0.5223 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.441e-05/0.4216, allocations: 27.97 kB / 0.5223 GB, free: 14.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002916/0.4219, allocations: 263 kB / 0.5226 GB, free: 14.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4219, allocations: 0 / 0.5226 GB, free: 14.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003533/0.4254, allocations: 1.337 MB / 0.5239 GB, free: 12.88 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.007864/0.4333, allocations: 3.035 MB / 0.5268 GB, free: 9.805 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.4349, allocations: 0.7728 MB / 0.5276 GB, free: 9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/0.4349, allocations: 7.938 kB / 0.5276 GB, free: 8.992 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005744/0.4355, allocations: 291.1 kB / 0.5279 GB, free: 8.707 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.4369, allocations: 269 kB / 0.5281 GB, free: 8.441 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009428/0.4463, allocations: 5.318 MB / 0.5333 GB, free: 2.945 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.4465, allocations: 233.5 kB / 0.5335 GB, free: 2.695 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005348/0.4471, allocations: 156.1 kB / 0.5337 GB, free: 2.539 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/0.4473, allocations: 163.3 kB / 0.5338 GB, free: 2.379 MB / 446.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4473, allocations: 4 kB / 0.5338 GB, free: 2.375 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2587/0.706, allocations: 52.08 MB / 0.5847 GB, free: 65.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.06/15.77, allocations: 7.922 kB / 0.5847 GB, free: 65.26 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 31.73498358402867]