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.001598/0.001598, allocations: 119.7 kB / 19.17 MB, free: 3.898 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.001722/0.001722, allocations: 207.3 kB / 22.12 MB, free: 0.9609 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.341/1.341, allocations: 207.6 MB / 232.5 MB, free: 3.957 MB / 174.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="cs",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.001695/0.001695, allocations: 47.94 kB / 343 MB, free: 10.12 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08891/0.0906, allocations: 49.13 MB / 392.1 MB, free: 8.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05722/0.1478, allocations: 50.91 MB / 443 MB, free: 5.734 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006782/0.1546, allocations: 5.219 MB / 448.3 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002462/0.1548, allocations: 7.938 kB / 448.3 MB, free: 500 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007945/0.1556, allocations: 258.6 kB / 448.5 MB, free: 240 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007492/0.1564, allocations: 373.9 kB / 448.9 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01799/0.1744, allocations: 6.784 MB / 455.7 MB, free: 9.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001473/0.1759, allocations: 1.091 MB / 456.8 MB, free: 7.965 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002491/0.1761, allocations: 105.5 kB / 456.9 MB, free: 7.859 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006298/0.1824, allocations: 3.617 MB / 460.5 MB, free: 4.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005656/0.183, allocations: 430.5 kB / 460.9 MB, free: 3.809 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.718e-05/0.1831, allocations: 60 kB / 461 MB, free: 3.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1916/0.3746, allocations: 9.963 MB / 470.9 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002798/0.3749, allocations: 231.9 kB / 471.2 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004094/0.3753, allocations: 304.6 kB / 471.5 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01278/0.3881, allocations: 5.495 MB / 476.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.3881, allocations: 0 / 476.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3881, allocations: 0 / 476.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.3881, allocations: 0 / 476.9 MB, free: 12.16 MB / 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.004012/0.3921, allocations: 1.396 MB / 478.3 MB, free: 11.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.3921, allocations: 10.88 kB / 478.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.973e-05/0.3922, allocations: 11.53 kB / 478.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.27e-05/0.3922, allocations: 84.98 kB / 478.4 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003175/0.3926, allocations: 65.7 kB / 478.5 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004183/0.393, allocations: 367.8 kB / 478.9 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.393, allocations: 34.19 kB / 478.9 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.849e-05/0.3931, allocations: 44.38 kB / 478.9 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.3942, allocations: 0.5829 MB / 479.5 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.3942, allocations: 0 / 479.5 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.246e-05/0.3942, allocations: 19.72 kB / 479.5 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.3942, allocations: 10.94 kB / 479.6 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.3954, allocations: 0.7493 MB / 480.3 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01402/0.4094, allocations: 11.98 MB / 492.3 MB, free: 16.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.4105, allocations: 0.5034 MB / 492.8 MB, free: 16.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/0.4108, allocations: 246.3 kB / 493 MB, free: 16.29 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01455/0.4253, allocations: 11.89 MB / 0.4931 GB, free: 4.469 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.4254, allocations: 46.33 kB / 0.4931 GB, free: 4.426 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.054e-06/0.4254, allocations: 0 / 0.4931 GB, free: 4.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=55): time 0.005295/0.4307, allocations: 2.116 MB / 0.4952 GB, free: 3.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.4307, allocations: 60 kB / 0.4953 GB, free: 3.773 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/0.431, allocations: 319.2 kB / 0.4956 GB, free: 3.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.297e-05/0.4311, allocations: 35.58 kB / 0.4956 GB, free: 3.637 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.4312, allocations: 211.3 kB / 0.4958 GB, free: 3.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.385e-05/0.4313, allocations: 200 kB / 0.496 GB, free: 3.371 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.4314, allocations: 108.5 kB / 0.4961 GB, free: 3.352 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.4316, allocations: 351.3 kB / 0.4964 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003143/0.4319, allocations: 240.9 kB / 0.4967 GB, free: 3.035 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005123/0.4324, allocations: 338 kB / 0.497 GB, free: 2.945 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009559/0.4334, allocations: 0.6064 MB / 0.4976 GB, free: 2.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4334, allocations: 1.219 kB / 0.4976 GB, free: 2.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001575/0.4349, allocations: 0.7582 MB / 0.4983 GB, free: 2.742 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.435, allocations: 5.062 kB / 0.4983 GB, free: 2.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.435, allocations: 2.781 kB / 0.4983 GB, free: 2.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004317/0.4354, allocations: 106.2 kB / 0.4984 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004411/0.4358, allocations: 133.5 kB / 0.4985 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002486/0.4383, allocations: 3.469 MB / 0.5019 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003103/0.4386, allocations: 20.17 kB / 0.5019 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.334e-05/0.4387, allocations: 28.72 kB / 0.502 GB, free: 15.31 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.0002552/0.439, allocations: 197.1 kB / 0.5022 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002713/0.4392, allocations: 46.3 kB / 0.5022 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/0.4405, allocations: 0.8136 MB / 0.503 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.4405, allocations: 7.75 kB / 0.503 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.4405, allocations: 2.969 kB / 0.503 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009801/0.4415, allocations: 0.7601 MB / 0.5038 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.4432, allocations: 1.296 MB / 0.505 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4432, allocations: 0 / 0.505 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000392/0.4436, allocations: 103.5 kB / 0.5051 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008438/0.4444, allocations: 151.8 kB / 0.5053 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.324e-05/0.4445, allocations: 13.09 kB / 0.5053 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004037/0.4449, allocations: 0.6467 MB / 0.5059 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4449, allocations: 0 / 0.5059 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.4462, allocations: 0.9163 MB / 0.5068 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.992e-05/0.4463, allocations: 118.7 kB / 0.5069 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.257e-05/0.4464, allocations: 10.69 kB / 0.5069 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/0.4468, allocations: 28.23 kB / 0.507 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.4468, allocations: 31.42 kB / 0.507 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.028e-05/0.4469, allocations: 24.8 kB / 0.507 GB, free: 12.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002233/0.4471, allocations: 265.3 kB / 0.5073 GB, free: 12.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4471, allocations: 0 / 0.5073 GB, free: 12.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003881/0.451, allocations: 1.314 MB / 0.5085 GB, free: 12.52 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.007828/0.4588, allocations: 3.065 MB / 0.5115 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001426/0.4602, allocations: 0.7782 MB / 0.5123 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.4603, allocations: 8.219 kB / 0.5123 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005289/0.4608, allocations: 282.5 kB / 0.5126 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.4622, allocations: 279 kB / 0.5128 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009799/0.472, allocations: 5.314 MB / 0.518 GB, free: 4.875 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.4725, allocations: 0.8365 MB / 0.5188 GB, free: 4.012 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005564/0.4731, allocations: 144.2 kB / 0.519 GB, free: 3.867 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.4733, allocations: 159.3 kB / 0.5191 GB, free: 3.711 MB / 414.1 MB Notification: Performance of SimCode: time 9.11e-07/0.4733, allocations: 0 / 0.5191 GB, free: 3.711 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09555/0.5689, allocations: 51.94 MB / 0.5699 GB, free: 15.71 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/14.54, allocations: 19.98 kB / 0.5699 GB, free: 15.7 MB / 478.1 MB " [Timeout remaining time 645] (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: 40.52085945097497]