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.001299/0.001299, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001448/0.001448, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.418/1.418, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.001552/0.001552, allocations: 51.86 kB / 373 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09392/0.09547, allocations: 53.32 MB / 426.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2325/0.328, allocations: 50.88 MB / 477.2 MB, free: 9.258 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006671/0.3347, allocations: 5.212 MB / 482.4 MB, free: 5.035 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002389/0.3349, allocations: 12.47 kB / 482.4 MB, free: 5.027 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008909/0.3358, allocations: 256.6 kB / 482.7 MB, free: 4.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007013/0.3365, allocations: 372.5 kB / 483 MB, free: 4.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02015/0.3566, allocations: 7.152 MB / 490.2 MB, free: 15.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00152/0.3582, allocations: 1.096 MB / 491.3 MB, free: 15.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002212/0.3584, allocations: 108.3 kB / 491.4 MB, free: 14.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006777/0.3652, allocations: 3.617 MB / 495 MB, free: 12.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005959/0.3658, allocations: 427.9 kB / 495.4 MB, free: 11.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.749e-05/0.3658, allocations: 56 kB / 495.5 MB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01968/0.3855, allocations: 10.12 MB / 0.4937 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003485/0.3859, allocations: 239.4 kB / 0.494 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005128/0.3864, allocations: 302.9 kB / 0.4943 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01295/0.3993, allocations: 5.53 MB / 0.4997 GB, free: 11.49 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.3993, allocations: 0 / 0.4997 GB, free: 11.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3993, allocations: 4 kB / 0.4997 GB, free: 11.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.3994, allocations: 0 / 0.4997 GB, free: 11.49 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.003506/0.4029, allocations: 1.406 MB / 0.501 GB, free: 10.03 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.4029, allocations: 8.031 kB / 0.501 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001145/0.403, allocations: 83.97 kB / 0.5011 GB, free: 9.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003571/0.4034, allocations: 71.66 kB / 0.5012 GB, free: 9.859 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005385/0.4039, allocations: 366.2 kB / 0.5015 GB, free: 9.461 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.223e-05/0.4039, allocations: 33 kB / 0.5016 GB, free: 9.426 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.343e-05/0.404, allocations: 40 kB / 0.5016 GB, free: 9.387 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.4054, allocations: 0.5843 MB / 0.5022 GB, free: 8.797 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.4054, allocations: 0 / 0.5022 GB, free: 8.797 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.622e-05/0.4054, allocations: 21.08 kB / 0.5022 GB, free: 8.777 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.4054, allocations: 12 kB / 0.5022 GB, free: 8.766 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.4069, allocations: 0.7456 MB / 0.5029 GB, free: 8.023 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01734/0.4242, allocations: 11.95 MB / 0.5146 GB, free: 9.996 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.4256, allocations: 0.5131 MB / 0.5151 GB, free: 9.473 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004175/0.426, allocations: 246 kB / 0.5154 GB, free: 9.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01595/0.4419, allocations: 11.88 MB / 0.527 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.442, allocations: 42.94 kB / 0.527 GB, free: 10.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=50): time 2.505e-06/0.442, allocations: 0 / 0.527 GB, free: 10.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.006091/0.4481, allocations: 2.123 MB / 0.5291 GB, free: 8.785 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.4481, allocations: 59.97 kB / 0.5291 GB, free: 8.715 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004029/0.4485, allocations: 315 kB / 0.5294 GB, free: 8.395 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.403e-05/0.4486, allocations: 37.7 kB / 0.5295 GB, free: 8.352 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.4488, allocations: 208.7 kB / 0.5297 GB, free: 8.145 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.4489, allocations: 198.3 kB / 0.5299 GB, free: 7.949 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.4491, allocations: 118.2 kB / 0.53 GB, free: 7.828 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.4493, allocations: 346.8 kB / 0.5303 GB, free: 7.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004135/0.4497, allocations: 240.9 kB / 0.5305 GB, free: 7.246 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006955/0.4504, allocations: 347.3 kB / 0.5309 GB, free: 6.871 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.4517, allocations: 0.5917 MB / 0.5314 GB, free: 6.246 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4517, allocations: 4 kB / 0.5314 GB, free: 6.242 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001927/0.4536, allocations: 0.7597 MB / 0.5322 GB, free: 5.469 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.4536, allocations: 12.56 kB / 0.5322 GB, free: 5.457 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.4536, allocations: 0 / 0.5322 GB, free: 5.457 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004989/0.4541, allocations: 102.8 kB / 0.5323 GB, free: 5.348 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005081/0.4546, allocations: 127.8 kB / 0.5324 GB, free: 5.223 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002933/0.4576, allocations: 3.468 MB / 0.5358 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003106/0.4579, allocations: 12 kB / 0.5358 GB, free: 1.441 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/0.4579, allocations: 31.98 kB / 0.5358 GB, free: 1.41 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.0003029/0.4582, allocations: 204.1 kB / 0.536 GB, free: 1.203 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000315/0.4586, allocations: 43.77 kB / 0.5361 GB, free: 1.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/0.4602, allocations: 0.8199 MB / 0.5369 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.934e-06/0.4603, allocations: 8 kB / 0.5369 GB, free: 304 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.4603, allocations: 4 kB / 0.5369 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001253/0.4615, allocations: 0.7596 MB / 0.5376 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002206/0.4637, allocations: 1.297 MB / 0.5389 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4637, allocations: 0 / 0.5389 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004532/0.4642, allocations: 103.8 kB / 0.539 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009493/0.4651, allocations: 152.7 kB / 0.5391 GB, free: 13.85 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.496e-05/0.4652, allocations: 16.88 kB / 0.5392 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000462/0.4656, allocations: 0.6445 MB / 0.5398 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4656, allocations: 0 / 0.5398 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.4674, allocations: 0.9133 MB / 0.5407 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.4675, allocations: 116.9 kB / 0.5408 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.04e-05/0.4676, allocations: 20.09 kB / 0.5408 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/0.468, allocations: 19.98 kB / 0.5408 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.333e-05/0.4681, allocations: 32.39 kB / 0.5409 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.63e-05/0.4682, allocations: 27.98 kB / 0.5409 GB, free: 11.99 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000316/0.4685, allocations: 257.9 kB / 0.5411 GB, free: 11.74 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4685, allocations: 3.938 kB / 0.5411 GB, free: 11.73 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003741/0.4722, allocations: 1.337 MB / 0.5424 GB, free: 10.39 MB / 462.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.008746/0.481, allocations: 3.043 MB / 0.5454 GB, free: 7.316 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001771/0.4827, allocations: 0.7724 MB / 0.5462 GB, free: 6.512 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4827, allocations: 4 kB / 0.5462 GB, free: 6.508 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006022/0.4833, allocations: 287.8 kB / 0.5465 GB, free: 6.227 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.4848, allocations: 266.6 kB / 0.5467 GB, free: 5.973 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.4953, allocations: 5.334 MB / 0.5519 GB, free: 468 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005888/0.4959, allocations: 0.8287 MB / 0.5527 GB, free: 15.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006393/0.4966, allocations: 140.3 kB / 0.5529 GB, free: 15.46 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000322/0.4969, allocations: 159.4 kB / 0.553 GB, free: 15.3 MB / 478.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4969, allocations: 3.938 kB / 0.553 GB, free: 15.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1045/0.6014, allocations: 50.68 MB / 0.6025 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.24/14.84, allocations: 10.89 kB / 0.6025 GB, free: 12.78 MB / 0.5137 GB " [Timeout remaining time 645] (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.02891943603754]