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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 121.4 kB / 17.79 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 190.9 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 225.6 MB / 249.1 MB, free: 3.648 MB / 190.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 51.92 kB / 365.6 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09627/0.09772, allocations: 52.14 MB / 417.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2365/0.3342, allocations: 50.75 MB / 468.5 MB, free: 3.531 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005013/0.3392, allocations: 5.222 MB / 473.8 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002216/0.3394, allocations: 4.938 kB / 473.8 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006842/0.3401, allocations: 255.8 kB / 474 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000578/0.3407, allocations: 365.2 kB / 474.4 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01593/0.3566, allocations: 7.127 MB / 481.5 MB, free: 13.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001702/0.3583, allocations: 1.097 MB / 482.6 MB, free: 13.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002587/0.3586, allocations: 109.5 kB / 482.7 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006935/0.3655, allocations: 3.626 MB / 486.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006882/0.3662, allocations: 422.9 kB / 486.7 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.3663, allocations: 59.12 kB / 486.8 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01784/0.3841, allocations: 10.08 MB / 496.9 MB, free: 5.531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003426/0.3845, allocations: 226.6 kB / 497.1 MB, free: 5.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004819/0.3849, allocations: 308 kB / 497.4 MB, free: 5.188 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01191/0.3969, allocations: 5.51 MB / 0.4911 GB, free: 416 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.3969, allocations: 4 kB / 0.4911 GB, free: 412 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3969, allocations: 0 / 0.4911 GB, free: 412 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.3969, allocations: 0 / 0.4911 GB, free: 412 kB / 382.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.003354/0.4002, allocations: 1.402 MB / 0.4925 GB, free: 14.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.4003, allocations: 12.03 kB / 0.4925 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001149/0.4004, allocations: 86.52 kB / 0.4926 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003216/0.4007, allocations: 64.2 kB / 0.4927 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000577/0.4013, allocations: 366.1 kB / 0.493 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.4013, allocations: 37 kB / 0.493 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.075e-05/0.4014, allocations: 40 kB / 0.4931 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.4027, allocations: 0.5881 MB / 0.4936 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.4027, allocations: 4 kB / 0.4937 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-05/0.4028, allocations: 24.45 kB / 0.4937 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.4028, allocations: 8.5 kB / 0.4937 GB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/0.4042, allocations: 0.7456 MB / 0.4944 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01718/0.4214, allocations: 11.96 MB / 0.5061 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.4227, allocations: 0.5158 MB / 0.5066 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003791/0.423, allocations: 242 kB / 0.5068 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01554/0.4386, allocations: 11.89 MB / 0.5184 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.597e-05/0.4386, allocations: 39.62 kB / 0.5185 GB, free: 15.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.134e-06/0.4386, allocations: 0 / 0.5185 GB, free: 15.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.005877/0.4445, allocations: 2.136 MB / 0.5206 GB, free: 13.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.4446, allocations: 59.91 kB / 0.5206 GB, free: 13.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004443/0.445, allocations: 315 kB / 0.5209 GB, free: 13.28 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.735e-05/0.4451, allocations: 37.7 kB / 0.521 GB, free: 13.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.4452, allocations: 208.7 kB / 0.5212 GB, free: 13.03 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/0.4454, allocations: 198.3 kB / 0.5214 GB, free: 12.83 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.4456, allocations: 118.2 kB / 0.5215 GB, free: 12.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.4458, allocations: 346.8 kB / 0.5218 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004132/0.4462, allocations: 237 kB / 0.522 GB, free: 12.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007377/0.4469, allocations: 347.3 kB / 0.5224 GB, free: 11.76 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.4482, allocations: 0.6034 MB / 0.5229 GB, free: 11.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4482, allocations: 0 / 0.5229 GB, free: 11.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001879/0.4501, allocations: 0.7559 MB / 0.5237 GB, free: 10.35 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.4501, allocations: 4 kB / 0.5237 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.4501, allocations: 4 kB / 0.5237 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004898/0.4506, allocations: 98.52 kB / 0.5238 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005048/0.4511, allocations: 127.8 kB / 0.5239 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003085/0.4542, allocations: 3.475 MB / 0.5273 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/0.4545, allocations: 15.98 kB / 0.5273 GB, free: 6.316 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.509e-05/0.4546, allocations: 32 kB / 0.5273 GB, free: 6.285 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.0003175/0.4549, allocations: 190.3 kB / 0.5275 GB, free: 6.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002928/0.4552, allocations: 51.7 kB / 0.5276 GB, free: 6.039 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001626/0.4568, allocations: 0.8114 MB / 0.5284 GB, free: 5.191 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.4568, allocations: 7.938 kB / 0.5284 GB, free: 5.184 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-06/0.4568, allocations: 0 / 0.5284 GB, free: 5.184 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001298/0.4581, allocations: 0.7644 MB / 0.5291 GB, free: 4.348 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/0.4603, allocations: 1.297 MB / 0.5304 GB, free: 2.988 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.4603, allocations: 4 kB / 0.5304 GB, free: 2.984 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004495/0.4608, allocations: 99.88 kB / 0.5305 GB, free: 2.887 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000907/0.4617, allocations: 152.7 kB / 0.5306 GB, free: 2.734 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.585e-05/0.4617, allocations: 12 kB / 0.5306 GB, free: 2.723 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004756/0.4622, allocations: 0.6454 MB / 0.5313 GB, free: 2.055 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.4622, allocations: 3.984 kB / 0.5313 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/0.464, allocations: 0.9134 MB / 0.5322 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.4641, allocations: 123.2 kB / 0.5323 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.965e-05/0.4642, allocations: 12 kB / 0.5323 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/0.4646, allocations: 19.98 kB / 0.5323 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.4646, allocations: 36.39 kB / 0.5324 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-05/0.4647, allocations: 33.09 kB / 0.5324 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003033/0.465, allocations: 253.9 kB / 0.5326 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.465, allocations: 0 / 0.5326 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003676/0.4687, allocations: 1.329 MB / 0.5339 GB, free: 15.3 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.007243/0.4759, allocations: 3.056 MB / 0.5369 GB, free: 12.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.4775, allocations: 0.7724 MB / 0.5377 GB, free: 11.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4775, allocations: 0 / 0.5377 GB, free: 11.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005699/0.478, allocations: 283.2 kB / 0.5379 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.4794, allocations: 285.8 kB / 0.5382 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009097/0.4885, allocations: 5.32 MB / 0.5434 GB, free: 5.367 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006607/0.4891, allocations: 0.8326 MB / 0.5442 GB, free: 4.504 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005373/0.4897, allocations: 144.2 kB / 0.5444 GB, free: 4.359 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002627/0.4899, allocations: 159.4 kB / 0.5445 GB, free: 4.203 MB / 446.1 MB Notification: Performance of SimCode: time 9.31e-07/0.4899, allocations: 0 / 0.5445 GB, free: 4.203 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09758/0.5875, allocations: 50.51 MB / 0.5938 GB, free: 1.855 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/14.56, allocations: 3.938 kB / 0.5938 GB, free: 1.852 MB / 494.1 MB " [Timeout remaining time 645] (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 --stepSize=0.000201919 --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) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 29.107228389941156]