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.001356/0.001356, allocations: 114 kB / 20.43 MB, free: 1.457 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.002188/0.002188, allocations: 214 kB / 23.74 MB, free: 4.672 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.401/1.401, allocations: 230.5 MB / 257.4 MB, free: 7.988 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 63.89 kB / 377.8 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2355, allocations: 53.4 MB / 431.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06216/0.2977, allocations: 51.17 MB / 482.4 MB, free: 3.328 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00753/0.3052, allocations: 5.254 MB / 487.6 MB, free: 14.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003661/0.3056, allocations: 7.938 kB / 487.6 MB, free: 14.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009198/0.3065, allocations: 258.6 kB / 487.9 MB, free: 13.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009615/0.3075, allocations: 373.9 kB / 488.2 MB, free: 13.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01831/0.3258, allocations: 7.208 MB / 495.4 MB, free: 6.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001585/0.3274, allocations: 1.107 MB / 496.5 MB, free: 5.117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00027/0.3276, allocations: 97.83 kB / 496.6 MB, free: 5.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007245/0.3349, allocations: 3.599 MB / 0.4885 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009108/0.3358, allocations: 434.5 kB / 0.4889 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001976/0.336, allocations: 64 kB / 0.489 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01927/0.3552, allocations: 10.18 MB / 0.4989 GB, free: 6.727 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004127/0.3557, allocations: 227.4 kB / 0.4992 GB, free: 6.504 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005485/0.3562, allocations: 310.9 kB / 0.4994 GB, free: 6.199 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01196/0.3682, allocations: 5.53 MB / 0.5049 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.3682, allocations: 0 / 0.5049 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3682, allocations: 0 / 0.5049 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.191e-05/0.3682, allocations: 0 / 0.5049 GB, free: 0.6562 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.003623/0.3718, allocations: 1.331 MB / 0.5062 GB, free: 15.29 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.3719, allocations: 12.03 kB / 0.5062 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001418/0.372, allocations: 90.45 kB / 0.5062 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003732/0.3724, allocations: 63.66 kB / 0.5063 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005807/0.373, allocations: 304.4 kB / 0.5066 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.373, allocations: 37 kB / 0.5066 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.762e-05/0.3731, allocations: 44 kB / 0.5067 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.3744, allocations: 0.5881 MB / 0.5073 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.3744, allocations: 0 / 0.5073 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.593e-05/0.3745, allocations: 20 kB / 0.5073 GB, free: 14.1 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.3745, allocations: 12 kB / 0.5073 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.3759, allocations: 0.7495 MB / 0.508 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01308/0.389, allocations: 4.169 MB / 0.5121 GB, free: 9.023 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.3903, allocations: 0.5047 MB / 0.5126 GB, free: 8.508 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003873/0.3907, allocations: 249.6 kB / 0.5128 GB, free: 8.266 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01058/0.4012, allocations: 2.538 MB / 0.5153 GB, free: 5.727 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.711e-05/0.4013, allocations: 39 kB / 0.5153 GB, free: 5.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.014e-06/0.4013, allocations: 0 / 0.5153 GB, free: 5.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.006068/0.4074, allocations: 1.897 MB / 0.5172 GB, free: 3.742 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.4074, allocations: 55.91 kB / 0.5172 GB, free: 3.676 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004058/0.4078, allocations: 328.2 kB / 0.5175 GB, free: 3.352 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.118e-05/0.4079, allocations: 37.7 kB / 0.5176 GB, free: 3.309 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.4081, allocations: 208.7 kB / 0.5178 GB, free: 3.102 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/0.4083, allocations: 198.3 kB / 0.518 GB, free: 2.906 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/0.4084, allocations: 122.2 kB / 0.5181 GB, free: 2.781 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.4086, allocations: 342.8 kB / 0.5184 GB, free: 2.438 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004101/0.409, allocations: 241.2 kB / 0.5186 GB, free: 2.203 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006553/0.4097, allocations: 340.3 kB / 0.519 GB, free: 1.836 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.4109, allocations: 0.6034 MB / 0.5196 GB, free: 1.199 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4109, allocations: 0 / 0.5196 GB, free: 1.199 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001873/0.4127, allocations: 0.7519 MB / 0.5203 GB, free: 444 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.4128, allocations: 7.938 kB / 0.5203 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.4128, allocations: 7.984 kB / 0.5203 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004905/0.4133, allocations: 102.8 kB / 0.5204 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005206/0.4138, allocations: 127.8 kB / 0.5205 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002865/0.4167, allocations: 3.266 MB / 0.5237 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/0.417, allocations: 12.03 kB / 0.5237 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-05/0.4171, allocations: 31.98 kB / 0.5238 GB, free: 12.62 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.0003282/0.4174, allocations: 205.8 kB / 0.524 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003247/0.4177, allocations: 43.77 kB / 0.524 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00166/0.4194, allocations: 0.8151 MB / 0.5248 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.4194, allocations: 4 kB / 0.5248 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.4194, allocations: 0 / 0.5248 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001185/0.4206, allocations: 0.7635 MB / 0.5255 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002404/0.423, allocations: 1.273 MB / 0.5268 GB, free: 9.344 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.423, allocations: 3.984 kB / 0.5268 GB, free: 9.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004558/0.4235, allocations: 95.89 kB / 0.5269 GB, free: 9.246 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009116/0.4244, allocations: 152.7 kB / 0.527 GB, free: 9.094 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.803e-05/0.4244, allocations: 19.98 kB / 0.527 GB, free: 9.074 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004764/0.4249, allocations: 0.6484 MB / 0.5277 GB, free: 8.402 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.4249, allocations: 4.031 kB / 0.5277 GB, free: 8.398 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.4267, allocations: 0.9053 MB / 0.5286 GB, free: 7.469 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.4268, allocations: 35.8 kB / 0.5286 GB, free: 7.434 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.753e-05/0.4269, allocations: 12 kB / 0.5286 GB, free: 7.422 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/0.4273, allocations: 24.08 kB / 0.5286 GB, free: 7.398 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.653e-05/0.4274, allocations: 36.41 kB / 0.5287 GB, free: 7.363 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.758e-05/0.4274, allocations: 39.89 kB / 0.5287 GB, free: 7.324 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003111/0.4278, allocations: 259 kB / 0.529 GB, free: 7.074 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4278, allocations: 0 / 0.529 GB, free: 7.074 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003652/0.4314, allocations: 1.341 MB / 0.5303 GB, free: 5.73 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.008004/0.4394, allocations: 3.035 MB / 0.5332 GB, free: 2.656 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00175/0.4412, allocations: 0.7685 MB / 0.534 GB, free: 1.855 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.4412, allocations: 4 kB / 0.534 GB, free: 1.852 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006262/0.4418, allocations: 287.8 kB / 0.5343 GB, free: 1.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.4433, allocations: 273 kB / 0.5345 GB, free: 1.301 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1932/0.6365, allocations: 5.321 MB / 0.5397 GB, free: 102.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.6368, allocations: 0.8408 MB / 0.5405 GB, free: 101.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005305/0.6373, allocations: 145.9 kB / 0.5407 GB, free: 101.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002453/0.6376, allocations: 156.5 kB / 0.5408 GB, free: 101.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.323e-06/0.6376, allocations: 0 / 0.5408 GB, free: 101.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08218/0.7197, allocations: 51.12 MB / 0.5907 GB, free: 58.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15/15.72, allocations: 0 / 0.5907 GB, free: 58.84 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: 30.470200296957046]