Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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.001623/0.001623, 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.001665/0.001665, allocations: 216.7 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.352/1.352, allocations: 207.6 MB / 235.3 MB, free: 10.01 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.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",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.001794/0.001794, allocations: 47.94 kB / 347.2 MB, free: 10.1 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2673, allocations: 49.16 MB / 396.4 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.4784/0.7458, allocations: 187.5 MB / 0.5702 GB, free: 1.801 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005662/0.7514, allocations: 4.834 MB / 0.5749 GB, free: 1.781 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000215/0.7516, allocations: 7.969 kB / 0.5749 GB, free: 1.781 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007235/0.7524, allocations: 261.2 kB / 0.5752 GB, free: 1.781 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006015/0.753, allocations: 384.7 kB / 0.5756 GB, free: 1.777 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007059/0.76, allocations: 2.921 MB / 0.5784 GB, free: 1.68 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001648/0.7617, allocations: 1.179 MB / 0.5796 GB, free: 1.68 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002238/0.7619, allocations: 111 kB / 0.5797 GB, free: 1.652 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003672/0.7656, allocations: 1.484 MB / 0.5811 GB, free: 1.621 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007061/0.7663, allocations: 457.7 kB / 0.5815 GB, free: 1.621 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.7664, allocations: 64.81 kB / 0.5816 GB, free: 1.621 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007251/0.7736, allocations: 4.371 MB / 0.5859 GB, free: 1.586 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003984/0.774, allocations: 241.5 kB / 0.5861 GB, free: 1.582 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000579/0.7746, allocations: 323.1 kB / 0.5864 GB, free: 1.582 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006203/0.7808, allocations: 2.92 MB / 0.5893 GB, free: 1.43 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.7808, allocations: 0 / 0.5893 GB, free: 1.43 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.7808, allocations: 0.9062 kB / 0.5893 GB, free: 1.43 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.7808, allocations: 0 / 0.5893 GB, free: 1.43 MB / 478.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.00254/0.7834, allocations: 1.099 MB / 0.5903 GB, free: 16.79 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.7834, allocations: 12.89 kB / 0.5904 GB, free: 16.78 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001048/0.7835, allocations: 90.39 kB / 0.5904 GB, free: 16.74 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000334/0.7839, allocations: 66.97 kB / 0.5905 GB, free: 16.71 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005388/0.7844, allocations: 303.4 kB / 0.5908 GB, free: 16.55 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.7844, allocations: 32.38 kB / 0.5908 GB, free: 16.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.907e-05/0.7845, allocations: 43.31 kB / 0.5909 GB, free: 16.55 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000786/0.7853, allocations: 0.5026 MB / 0.5914 GB, free: 16.51 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.7853, allocations: 0 / 0.5914 GB, free: 16.51 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.607e-05/0.7854, allocations: 19.28 kB / 0.5914 GB, free: 16.51 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.7854, allocations: 11.09 kB / 0.5914 GB, free: 16.51 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008122/0.7862, allocations: 0.6098 MB / 0.592 GB, free: 16.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003032/0.7892, allocations: 1.842 MB / 0.5938 GB, free: 15.69 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.7902, allocations: 0.5242 MB / 0.5943 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003344/0.7906, allocations: 244.7 kB / 0.5945 GB, free: 15.65 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000285/0.7909, allocations: 100.8 kB / 0.5946 GB, free: 15.65 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.357e-05/0.7909, allocations: 48.53 kB / 0.5947 GB, free: 15.61 MB / 494.1 MB Notification: Performance of pre-optimization done (n=53): time 2.114e-06/0.7909, allocations: 0.9688 kB / 0.5947 GB, free: 15.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=65): time 0.01329/0.8042, allocations: 3.416 MB / 0.598 GB, free: 15.29 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.8043, allocations: 58.91 kB / 0.5981 GB, free: 15.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/0.8046, allocations: 295.1 kB / 0.5983 GB, free: 15.12 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.7e-05/0.8047, allocations: 39.17 kB / 0.5984 GB, free: 15.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.8048, allocations: 194.8 kB / 0.5986 GB, free: 14.96 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.8049, allocations: 238.2 kB / 0.5988 GB, free: 14.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.8051, allocations: 115.6 kB / 0.5989 GB, free: 14.79 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.8053, allocations: 352.6 kB / 0.5992 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006355/0.8059, allocations: 313.4 kB / 0.5995 GB, free: 14.47 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006838/0.8066, allocations: 390.3 kB / 0.5999 GB, free: 14.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/0.8079, allocations: 0.7095 MB / 0.6006 GB, free: 14.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.8079, allocations: 0 / 0.6006 GB, free: 14.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001972/0.8099, allocations: 0.9621 MB / 0.6015 GB, free: 14.26 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.8099, allocations: 7.312 kB / 0.6015 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.8099, allocations: 0 / 0.6015 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/0.8114, allocations: 336.9 kB / 0.6019 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005326/0.8119, allocations: 119.3 kB / 0.602 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003732/0.8156, allocations: 3.506 MB / 0.6054 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005901/0.8162, allocations: 32.3 kB / 0.6054 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.25e-05/0.8163, allocations: 31.88 kB / 0.6055 GB, free: 11.28 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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): 3 systems {(2,6), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003254/0.8166, allocations: 194 kB / 0.6057 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.8168, allocations: 52.91 kB / 0.6057 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002334/0.8191, allocations: 1.021 MB / 0.6067 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.8191, allocations: 9.156 kB / 0.6067 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-06/0.8191, allocations: 1.812 kB / 0.6067 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001953/0.8211, allocations: 1.062 MB / 0.6077 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003028/0.8241, allocations: 1.671 MB / 0.6094 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.8241, allocations: 0 / 0.6094 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005199/0.8246, allocations: 111.7 kB / 0.6095 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00163/0.8262, allocations: 373 kB / 0.6098 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.717e-05/0.8263, allocations: 28.45 kB / 0.6099 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/0.8277, allocations: 0.8664 MB / 0.6107 GB, free: 9.832 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.8277, allocations: 4.797 kB / 0.6107 GB, free: 9.828 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002647/0.8303, allocations: 1.346 MB / 0.612 GB, free: 9.625 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.8305, allocations: 44.39 kB / 0.6121 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-05/0.8306, allocations: 17.84 kB / 0.6121 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006309/0.8312, allocations: 49.75 kB / 0.6121 GB, free: 9.602 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.087e-05/0.8313, allocations: 43.78 kB / 0.6122 GB, free: 9.602 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-05/0.8314, allocations: 32.77 kB / 0.6122 GB, free: 9.602 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002467/0.8316, allocations: 230 kB / 0.6124 GB, free: 9.512 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.8316, allocations: 0.875 kB / 0.6124 GB, free: 9.512 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001314/0.8329, allocations: 461.1 kB / 0.6129 GB, free: 9.434 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004336/0.8373, allocations: 2.355 MB / 0.6152 GB, free: 8.637 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002027/0.8393, allocations: 0.9664 MB / 0.6161 GB, free: 8.391 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.8393, allocations: 4.609 kB / 0.6161 GB, free: 8.391 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008257/0.8401, allocations: 399.8 kB / 0.6165 GB, free: 8.387 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.8416, allocations: 304.8 kB / 0.6168 GB, free: 8.328 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.852, allocations: 5.732 MB / 0.6224 GB, free: 6.16 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005049/0.8525, allocations: 0.8496 MB / 0.6232 GB, free: 5.398 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006102/0.8531, allocations: 136.1 kB / 0.6233 GB, free: 5.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000264/0.8534, allocations: 165.4 kB / 0.6235 GB, free: 5.316 MB / 494.1 MB Notification: Performance of SimCode: time 1.262e-06/0.8534, allocations: 0 / 0.6235 GB, free: 5.316 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07067/0.9241, allocations: 27.71 MB / 0.6506 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/14.72, allocations: 1.094 kB / 0.6506 GB, free: 10.5 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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: 17.232625628996175]