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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 114.4 kB / 17.73 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 183.1 kB / 18.66 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 48.39 kB / 328.1 MB, free: 3.762 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09026/0.09196, allocations: 46.63 MB / 374.7 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.4173/0.5093, allocations: 186.6 MB / 0.5481 GB, free: 4.637 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2698/0.7791, allocations: 4.774 MB / 0.5528 GB, free: 1.473 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000377/0.7795, allocations: 8.312 kB / 0.5528 GB, free: 1.473 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007733/0.7803, allocations: 250.2 kB / 0.553 GB, free: 1.473 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006323/0.781, allocations: 372.1 kB / 0.5534 GB, free: 1.473 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007802/0.7888, allocations: 2.859 MB / 0.5562 GB, free: 1.453 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001946/0.7908, allocations: 1.165 MB / 0.5573 GB, free: 1.449 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003295/0.7911, allocations: 153.1 kB / 0.5575 GB, free: 1.418 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004003/0.7951, allocations: 1.455 MB / 0.5589 GB, free: 1.41 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009442/0.7961, allocations: 429 kB / 0.5593 GB, free: 1.406 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001486/0.7962, allocations: 62.75 kB / 0.5594 GB, free: 1.406 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008377/0.8046, allocations: 4.216 MB / 0.5635 GB, free: 1.383 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005515/0.8052, allocations: 233.3 kB / 0.5637 GB, free: 1.383 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007015/0.8059, allocations: 320.6 kB / 0.564 GB, free: 1.383 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008743/0.8147, allocations: 2.918 MB / 0.5669 GB, free: 1.23 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.657e-06/0.8147, allocations: 1.781 kB / 0.5669 GB, free: 1.23 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.8148, allocations: 0.9062 kB / 0.5669 GB, free: 1.23 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.8148, allocations: 0 / 0.5669 GB, free: 1.23 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.004158/0.8189, allocations: 1.176 MB / 0.568 GB, free: 16.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.819, allocations: 9.438 kB / 0.568 GB, free: 16.5 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001283/0.8191, allocations: 86.89 kB / 0.5681 GB, free: 16.46 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004066/0.8196, allocations: 61.08 kB / 0.5682 GB, free: 16.44 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006226/0.8202, allocations: 369.3 kB / 0.5685 GB, free: 16.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.8202, allocations: 36.16 kB / 0.5685 GB, free: 16.2 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.268e-05/0.8203, allocations: 41.56 kB / 0.5686 GB, free: 16.2 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000869/0.8212, allocations: 0.502 MB / 0.5691 GB, free: 16.17 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.8212, allocations: 2.625 kB / 0.5691 GB, free: 16.17 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.797e-05/0.8213, allocations: 23.56 kB / 0.5691 GB, free: 16.17 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.8213, allocations: 12.25 kB / 0.5691 GB, free: 16.17 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009308/0.8223, allocations: 0.597 MB / 0.5697 GB, free: 16.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003368/0.8256, allocations: 2.177 MB / 0.5718 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.8267, allocations: 0.5519 MB / 0.5724 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/0.8271, allocations: 260.8 kB / 0.5726 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006207/0.8277, allocations: 0.6918 MB / 0.5733 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.8277, allocations: 44.22 kB / 0.5733 GB, free: 14.12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=53): time 2.044e-06/0.8277, allocations: 2.141 kB / 0.5733 GB, free: 14.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=65): time 0.01326/0.841, allocations: 3.639 MB / 0.5769 GB, free: 13.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.8411, allocations: 58.84 kB / 0.5769 GB, free: 13.46 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003296/0.8414, allocations: 298.6 kB / 0.5772 GB, free: 13.35 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.064e-05/0.8415, allocations: 42.17 kB / 0.5773 GB, free: 13.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.8417, allocations: 198.2 kB / 0.5774 GB, free: 13.19 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.8418, allocations: 234.2 kB / 0.5777 GB, free: 13.04 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.842, allocations: 115.8 kB / 0.5778 GB, free: 13.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.8422, allocations: 353.9 kB / 0.5781 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006081/0.8428, allocations: 314 kB / 0.5784 GB, free: 12.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000654/0.8435, allocations: 381.9 kB / 0.5788 GB, free: 12.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.8448, allocations: 0.7137 MB / 0.5795 GB, free: 12.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.8448, allocations: 3.188 kB / 0.5795 GB, free: 12.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001973/0.8468, allocations: 0.9635 MB / 0.5804 GB, free: 12.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.8468, allocations: 8.875 kB / 0.5804 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.8468, allocations: 0 / 0.5804 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001436/0.8483, allocations: 337.2 kB / 0.5808 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/0.8488, allocations: 123.7 kB / 0.5809 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003806/0.8526, allocations: 3.703 MB / 0.5845 GB, free: 9.273 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006371/0.8533, allocations: 42.31 kB / 0.5845 GB, free: 9.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-05/0.8533, allocations: 26.53 kB / 0.5846 GB, free: 9.27 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.0003387/0.8537, allocations: 197.3 kB / 0.5847 GB, free: 9.152 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.8538, allocations: 45.19 kB / 0.5848 GB, free: 9.129 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002351/0.8562, allocations: 1.022 MB / 0.5858 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.8562, allocations: 12.31 kB / 0.5858 GB, free: 9.039 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.8562, allocations: 0 / 0.5858 GB, free: 9.039 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001926/0.8581, allocations: 1.068 MB / 0.5868 GB, free: 8.676 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002824/0.861, allocations: 1.699 MB / 0.5885 GB, free: 8.336 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.861, allocations: 0 / 0.5885 GB, free: 8.336 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005052/0.8615, allocations: 113.8 kB / 0.5886 GB, free: 8.336 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001631/0.8631, allocations: 372.8 kB / 0.589 GB, free: 8.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.275e-05/0.8632, allocations: 26.98 kB / 0.589 GB, free: 8.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001369/0.8646, allocations: 0.8719 MB / 0.5898 GB, free: 7.797 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.8646, allocations: 2.469 kB / 0.5898 GB, free: 7.797 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002549/0.8672, allocations: 1.339 MB / 0.5911 GB, free: 7.605 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001996/0.8674, allocations: 117.5 kB / 0.5913 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.79e-05/0.8675, allocations: 23.3 kB / 0.5913 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006205/0.8681, allocations: 43.78 kB / 0.5913 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.978e-05/0.8682, allocations: 40.61 kB / 0.5914 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-05/0.8683, allocations: 34.66 kB / 0.5914 GB, free: 7.484 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002253/0.8685, allocations: 221.7 kB / 0.5916 GB, free: 7.402 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.8685, allocations: 0 / 0.5916 GB, free: 7.402 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001559/0.8701, allocations: 456.4 kB / 0.592 GB, free: 7.328 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.004865/0.875, allocations: 2.374 MB / 0.5944 GB, free: 6.523 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002289/0.8773, allocations: 0.999 MB / 0.5953 GB, free: 6.285 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/0.8773, allocations: 2.031 kB / 0.5953 GB, free: 6.285 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009311/0.8783, allocations: 423.3 kB / 0.5957 GB, free: 6.277 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/0.88, allocations: 296.9 kB / 0.596 GB, free: 6.258 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.8903, allocations: 5.747 MB / 0.6016 GB, free: 4.402 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/0.8908, allocations: 0.8479 MB / 0.6025 GB, free: 3.695 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005916/0.8914, allocations: 137 kB / 0.6026 GB, free: 3.656 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/0.8917, allocations: 164.2 kB / 0.6028 GB, free: 3.648 MB / 494.1 MB Notification: Performance of SimCode: time 1.613e-06/0.8917, allocations: 2.344 kB / 0.6028 GB, free: 3.648 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06662/0.9583, allocations: 27.05 MB / 0.6292 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.64, allocations: 7.938 kB / 0.6292 GB, free: 13.06 MB / 0.5137 GB (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.000404 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) 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) Reference file matches