Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 215.3 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.404/1.404, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 55.91 kB / 377.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2627, allocations: 53.35 MB / 431.1 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06218/0.3248, allocations: 51.17 MB / 482.3 MB, free: 3.504 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007416/0.3323, allocations: 5.249 MB / 487.6 MB, free: 14.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004009/0.3327, allocations: 4 kB / 487.6 MB, free: 14.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009176/0.3336, allocations: 258.5 kB / 487.8 MB, free: 13.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008897/0.3345, allocations: 373.9 kB / 488.2 MB, free: 13.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01815/0.3526, allocations: 7.209 MB / 495.4 MB, free: 6.406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00147/0.3541, allocations: 1.107 MB / 496.5 MB, free: 5.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.3543, allocations: 97.83 kB / 496.6 MB, free: 5.195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006614/0.3609, allocations: 3.603 MB / 0.4885 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006402/0.3616, allocations: 426.5 kB / 0.4889 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.958e-05/0.3616, allocations: 60 kB / 0.4889 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01818/0.3798, allocations: 10.18 MB / 0.4989 GB, free: 6.918 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003509/0.3802, allocations: 235.4 kB / 0.4991 GB, free: 6.688 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004556/0.3806, allocations: 306.9 kB / 0.4994 GB, free: 6.387 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01231/0.3929, allocations: 5.534 MB / 0.5048 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3929, allocations: 4 kB / 0.5048 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.3929, allocations: 4 kB / 0.5048 GB, free: 0.832 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.551e-05/0.393, allocations: 0 / 0.5048 GB, free: 0.832 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.003416/0.3964, allocations: 1.327 MB / 0.5061 GB, free: 15.47 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.3964, allocations: 8.031 kB / 0.5061 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001048/0.3965, allocations: 90.52 kB / 0.5062 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003317/0.3969, allocations: 63.7 kB / 0.5063 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005276/0.3974, allocations: 300.4 kB / 0.5065 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.3974, allocations: 33 kB / 0.5066 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-05/0.3975, allocations: 43.98 kB / 0.5066 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.3988, allocations: 0.592 MB / 0.5072 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.3988, allocations: 11.95 kB / 0.5072 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.358e-05/0.3989, allocations: 20 kB / 0.5072 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.3989, allocations: 8 kB / 0.5072 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.4002, allocations: 0.7534 MB / 0.508 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01291/0.4131, allocations: 4.157 MB / 0.512 GB, free: 9.215 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.4144, allocations: 0.523 MB / 0.5125 GB, free: 8.688 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003906/0.4148, allocations: 238.1 kB / 0.5128 GB, free: 8.453 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01049/0.4253, allocations: 2.549 MB / 0.5153 GB, free: 5.902 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/0.4254, allocations: 39 kB / 0.5153 GB, free: 5.855 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.084e-06/0.4254, allocations: 0 / 0.5153 GB, free: 5.855 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.005618/0.431, allocations: 1.889 MB / 0.5171 GB, free: 3.926 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.431, allocations: 55.91 kB / 0.5172 GB, free: 3.859 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003886/0.4314, allocations: 328.2 kB / 0.5175 GB, free: 3.531 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.633e-05/0.4315, allocations: 37.7 kB / 0.5175 GB, free: 3.488 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.4316, allocations: 208.6 kB / 0.5177 GB, free: 3.281 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/0.4318, allocations: 202.2 kB / 0.5179 GB, free: 3.082 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/0.432, allocations: 114.3 kB / 0.518 GB, free: 2.965 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.4321, allocations: 346.8 kB / 0.5184 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004002/0.4325, allocations: 245.2 kB / 0.5186 GB, free: 2.379 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006542/0.4332, allocations: 336.3 kB / 0.5189 GB, free: 2.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.4344, allocations: 0.5995 MB / 0.5195 GB, free: 1.387 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4344, allocations: 0 / 0.5195 GB, free: 1.387 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001839/0.4362, allocations: 0.752 MB / 0.5202 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.4362, allocations: 11.94 kB / 0.5203 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4362, allocations: 0 / 0.5203 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004757/0.4367, allocations: 110.4 kB / 0.5204 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005007/0.4372, allocations: 119.8 kB / 0.5205 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003637/0.4409, allocations: 3.285 MB / 0.5237 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004639/0.4413, allocations: 16 kB / 0.5237 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.4414, allocations: 31.98 kB / 0.5237 GB, free: 12.79 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.000422/0.4419, allocations: 197.6 kB / 0.5239 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005377/0.4424, allocations: 47.77 kB / 0.524 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002603/0.445, allocations: 0.8113 MB / 0.5248 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.445, allocations: 4 kB / 0.5248 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.445, allocations: 3.938 kB / 0.5248 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001569/0.4466, allocations: 0.7596 MB / 0.5255 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003182/0.4498, allocations: 1.273 MB / 0.5267 GB, free: 9.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.4498, allocations: 4 kB / 0.5268 GB, free: 9.516 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006951/0.4505, allocations: 95.88 kB / 0.5268 GB, free: 9.422 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001306/0.4518, allocations: 156.7 kB / 0.527 GB, free: 9.266 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-05/0.4518, allocations: 12 kB / 0.527 GB, free: 9.254 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006617/0.4525, allocations: 0.6484 MB / 0.5276 GB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.4525, allocations: 3.984 kB / 0.5276 GB, free: 8.578 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002924/0.4554, allocations: 0.9016 MB / 0.5285 GB, free: 7.652 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.4556, allocations: 39.8 kB / 0.5286 GB, free: 7.613 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.4557, allocations: 12 kB / 0.5286 GB, free: 7.602 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005991/0.4563, allocations: 23.92 kB / 0.5286 GB, free: 7.578 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.4564, allocations: 36.38 kB / 0.5286 GB, free: 7.543 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.4565, allocations: 27.97 kB / 0.5287 GB, free: 7.516 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003517/0.4569, allocations: 263 kB / 0.5289 GB, free: 7.262 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4569, allocations: 0 / 0.5289 GB, free: 7.262 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005307/0.4622, allocations: 1.348 MB / 0.5302 GB, free: 5.91 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.01186/0.474, allocations: 3.035 MB / 0.5332 GB, free: 2.832 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002549/0.4766, allocations: 0.7728 MB / 0.5339 GB, free: 2.031 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.4766, allocations: 0 / 0.5339 GB, free: 2.031 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009292/0.4775, allocations: 283.1 kB / 0.5342 GB, free: 1.754 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.479, allocations: 273.3 kB / 0.5345 GB, free: 1.484 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2107/0.6897, allocations: 5.331 MB / 0.5397 GB, free: 103.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.69, allocations: 0.8376 MB / 0.5405 GB, free: 102.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000509/0.6905, allocations: 140.8 kB / 0.5406 GB, free: 102.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.6907, allocations: 158.6 kB / 0.5408 GB, free: 102.3 MB / 446.1 MB Notification: Performance of SimCode: time 8.02e-07/0.6907, allocations: 0 / 0.5408 GB, free: 102.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08142/0.7721, allocations: 51.12 MB / 0.5907 GB, free: 59.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.13/15.9, allocations: 10.75 kB / 0.5907 GB, free: 59.58 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 30.660977351944894]