Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001331/0.001331, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.001413/0.001413, allocations: 215.5 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 49.33 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2627, allocations: 49.16 MB / 396.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.0579/0.3206, allocations: 51.22 MB / 447.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0073/0.3279, allocations: 5.234 MB / 452.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003786/0.3283, allocations: 4 kB / 452.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009042/0.3292, allocations: 266.4 kB / 453.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008736/0.33, allocations: 362 kB / 453.4 MB, free: 10.1 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02139/0.3514, allocations: 6.824 MB / 460.2 MB, free: 3.258 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001654/0.3531, allocations: 1.115 MB / 461.4 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002585/0.3533, allocations: 97.83 kB / 461.5 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007223/0.3606, allocations: 3.611 MB / 465.1 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008403/0.3614, allocations: 430.6 kB / 465.5 MB, free: 14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.3616, allocations: 56 kB / 465.5 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01895/0.3805, allocations: 10.04 MB / 475.6 MB, free: 3.891 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003484/0.3808, allocations: 223.4 kB / 475.8 MB, free: 3.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004541/0.3813, allocations: 318.8 kB / 476.1 MB, free: 3.359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01661/0.3979, allocations: 5.48 MB / 481.6 MB, free: 13.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.121e-05/0.3979, allocations: 8 kB / 481.6 MB, free: 13.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.3979, allocations: 0 / 481.6 MB, free: 13.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.204e-05/0.398, allocations: 0 / 481.6 MB, free: 13.86 MB / 398.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.003891/0.4019, allocations: 1.315 MB / 482.9 MB, free: 12.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.4019, allocations: 15.98 kB / 482.9 MB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001364/0.402, allocations: 90.52 kB / 483 MB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004056/0.4024, allocations: 59.7 kB / 483.1 MB, free: 12.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005983/0.403, allocations: 312 kB / 483.4 MB, free: 12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.605e-05/0.4031, allocations: 33 kB / 483.4 MB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.573e-05/0.4032, allocations: 47.95 kB / 483.5 MB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.4046, allocations: 0.5921 MB / 484.1 MB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.4046, allocations: 11.94 kB / 484.1 MB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.417e-05/0.4047, allocations: 20 kB / 484.1 MB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.4047, allocations: 8 kB / 484.1 MB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/0.4061, allocations: 0.7495 MB / 484.8 MB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01341/0.4195, allocations: 4.161 MB / 489 MB, free: 6.227 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.4209, allocations: 0.5195 MB / 489.5 MB, free: 5.691 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004055/0.4213, allocations: 242 kB / 489.8 MB, free: 5.453 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01075/0.432, allocations: 2.561 MB / 492.3 MB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.769e-05/0.4321, allocations: 42.94 kB / 492.4 MB, free: 2.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.595e-06/0.4321, allocations: 4 kB / 492.4 MB, free: 2.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=55): time 0.006037/0.4381, allocations: 1.889 MB / 494.3 MB, free: 0.9102 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.4382, allocations: 59.91 kB / 494.3 MB, free: 0.8398 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004147/0.4386, allocations: 324.1 kB / 494.6 MB, free: 0.5195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.355e-05/0.4387, allocations: 37.7 kB / 494.7 MB, free: 488 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.4388, allocations: 208.7 kB / 494.9 MB, free: 276 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/0.439, allocations: 202.3 kB / 495.1 MB, free: 72 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002049/0.4392, allocations: 110.3 kB / 495.2 MB, free: 15.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.4394, allocations: 346.8 kB / 495.5 MB, free: 15.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004182/0.4398, allocations: 245.2 kB / 495.8 MB, free: 15.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000705/0.4405, allocations: 336.3 kB / 496.1 MB, free: 15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.4417, allocations: 0.6034 MB / 496.7 MB, free: 14.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4417, allocations: 4 kB / 496.7 MB, free: 14.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001854/0.4436, allocations: 0.748 MB / 497.4 MB, free: 13.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.4436, allocations: 7.938 kB / 497.5 MB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.4436, allocations: 4 kB / 497.5 MB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004995/0.4441, allocations: 102.8 kB / 497.6 MB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005071/0.4446, allocations: 131.8 kB / 497.7 MB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002768/0.4474, allocations: 3.265 MB / 0.4892 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.4477, allocations: 12 kB / 0.4892 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.554e-05/0.4478, allocations: 31.98 kB / 0.4893 GB, free: 9.789 MB / 414.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.0003049/0.4481, allocations: 197.8 kB / 0.4894 GB, free: 9.586 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002957/0.4484, allocations: 47.75 kB / 0.4895 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/0.4499, allocations: 0.8035 MB / 0.4903 GB, free: 8.699 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.45, allocations: 4 kB / 0.4903 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.45, allocations: 4 kB / 0.4903 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001183/0.4511, allocations: 0.7635 MB / 0.491 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00223/0.4534, allocations: 1.277 MB / 0.4923 GB, free: 6.523 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4534, allocations: 0 / 0.4923 GB, free: 6.523 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004523/0.4538, allocations: 99.89 kB / 0.4924 GB, free: 6.426 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009031/0.4547, allocations: 156.6 kB / 0.4925 GB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.973e-05/0.4548, allocations: 19.98 kB / 0.4925 GB, free: 6.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004641/0.4552, allocations: 0.6523 MB / 0.4932 GB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4552, allocations: 0 / 0.4932 GB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.457, allocations: 0.9053 MB / 0.4941 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.363e-05/0.4571, allocations: 31.84 kB / 0.4941 GB, free: 4.605 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.97e-05/0.4572, allocations: 20.03 kB / 0.4941 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000386/0.4575, allocations: 19.98 kB / 0.4941 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.332e-05/0.4576, allocations: 40.36 kB / 0.4942 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-05/0.4577, allocations: 23.98 kB / 0.4942 GB, free: 4.504 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002995/0.458, allocations: 263 kB / 0.4944 GB, free: 4.246 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.458, allocations: 0 / 0.4944 GB, free: 4.246 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003615/0.4616, allocations: 1.321 MB / 0.4957 GB, free: 2.922 MB / 414.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.00784/0.4694, allocations: 3.062 MB / 0.4987 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001539/0.471, allocations: 0.7844 MB / 0.4995 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/0.471, allocations: 8.188 kB / 0.4995 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005515/0.4715, allocations: 279.2 kB / 0.4998 GB, free: 14.72 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.4729, allocations: 269.1 kB / 0.5 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00929/0.4822, allocations: 5.319 MB / 0.5052 GB, free: 8.961 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005365/0.4827, allocations: 0.8404 MB / 0.506 GB, free: 8.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005273/0.4832, allocations: 140.4 kB / 0.5062 GB, free: 7.949 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003058/0.4835, allocations: 155.4 kB / 0.5063 GB, free: 7.797 MB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4835, allocations: 0 / 0.5063 GB, free: 7.797 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1072/0.5907, allocations: 52.37 MB / 0.5574 GB, free: 3.293 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.02/15.61, allocations: 12.02 kB / 0.5575 GB, free: 3.281 MB / 478.1 MB " [Timeout remaining time 644] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.67787027498707]