Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",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.001669/0.001669, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001904/0.001904, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.317/2.317, allocations: 222.9 MB / 241.6 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 46.36 kB / 300.7 MB, free: 5.699 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1444, allocations: 49.45 MB / 350.2 MB, free: 4.246 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.3373/0.4819, allocations: 50.53 MB / 400.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01073/0.4926, allocations: 5.198 MB / 405.9 MB, free: 8.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004214/0.4931, allocations: 9.25 kB / 405.9 MB, free: 8.273 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.4944, allocations: 252 kB / 406.1 MB, free: 8.066 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001159/0.4956, allocations: 362.5 kB / 406.5 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.03026/0.5259, allocations: 7.098 MB / 413.6 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002175/0.5281, allocations: 1.091 MB / 414.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003715/0.5285, allocations: 143.9 kB / 414.8 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01105/0.5396, allocations: 3.603 MB / 418.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009046/0.5405, allocations: 398.7 kB / 418.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001611/0.5407, allocations: 56 kB / 418.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03114/0.5719, allocations: 9.752 MB / 428.6 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006093/0.5725, allocations: 223.5 kB / 428.8 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007501/0.5733, allocations: 314.8 kB / 429.2 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01971/0.593, allocations: 5.493 MB / 434.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.278e-05/0.5931, allocations: 0 / 434.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.5931, allocations: 0 / 434.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.521e-05/0.5932, allocations: 0 / 434.6 MB, free: 15.32 MB / 350.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.006582/0.5998, allocations: 1.362 MB / 436 MB, free: 13.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.7e-05/0.5999, allocations: 12.03 kB / 436 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002087/0.6001, allocations: 82.53 kB / 436.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006929/0.6008, allocations: 59.45 kB / 436.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009346/0.6018, allocations: 369.8 kB / 436.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.32e-05/0.6018, allocations: 33 kB / 436.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.602, allocations: 40 kB / 436.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002616/0.6046, allocations: 0.5921 MB / 437.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/0.6047, allocations: 3.938 kB / 437.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.6048, allocations: 16 kB / 437.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.6048, allocations: 15.94 kB / 437.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002729/0.6076, allocations: 0.7495 MB / 438 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02082/0.6284, allocations: 11.97 MB / 449.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.6301, allocations: 0.5202 MB / 450.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006785/0.6308, allocations: 258 kB / 450.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02072/0.6516, allocations: 11.9 MB / 462.6 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.318e-05/0.6517, allocations: 39 kB / 462.6 MB, free: 14.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 5.39e-06/0.6517, allocations: 0 / 462.6 MB, free: 14.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.01017/0.6619, allocations: 2.113 MB / 464.8 MB, free: 12.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/0.662, allocations: 63.95 kB / 464.8 MB, free: 12.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006126/0.6626, allocations: 322.8 kB / 465.1 MB, free: 12.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.6628, allocations: 41.7 kB / 465.2 MB, free: 12.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.663, allocations: 196.4 kB / 465.4 MB, free: 11.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002405/0.6632, allocations: 189.2 kB / 465.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003278/0.6636, allocations: 118.1 kB / 465.7 MB, free: 11.67 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002071/0.6638, allocations: 346.8 kB / 466 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006656/0.6645, allocations: 241 kB / 466.2 MB, free: 11.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/0.6657, allocations: 339.3 kB / 466.6 MB, free: 10.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002115/0.6678, allocations: 0.5995 MB / 467.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.6678, allocations: 0 / 467.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003363/0.6712, allocations: 0.7556 MB / 467.9 MB, free: 9.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.6712, allocations: 8 kB / 467.9 MB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.6713, allocations: 11.88 kB / 467.9 MB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008502/0.6721, allocations: 102.8 kB / 468 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008442/0.673, allocations: 131.8 kB / 468.2 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004209/0.6772, allocations: 3.469 MB / 471.6 MB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005533/0.6778, allocations: 16.19 kB / 471.7 MB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.6779, allocations: 39.92 kB / 471.7 MB, free: 5.238 MB / 382.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.0004706/0.6784, allocations: 193.6 kB / 471.9 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005831/0.679, allocations: 39.62 kB / 471.9 MB, free: 5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002674/0.6817, allocations: 0.8072 MB / 472.7 MB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.6817, allocations: 7.984 kB / 472.7 MB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.6818, allocations: 4.875 kB / 472.7 MB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001985/0.6838, allocations: 0.7597 MB / 473.5 MB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003602/0.6874, allocations: 1.302 MB / 474.8 MB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.341e-06/0.6874, allocations: 0 / 474.8 MB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007109/0.6881, allocations: 99.88 kB / 474.9 MB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001514/0.6897, allocations: 152.6 kB / 475.1 MB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-05/0.6898, allocations: 23.94 kB / 475.1 MB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006322/0.6904, allocations: 0.6445 MB / 475.7 MB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.6904, allocations: 4.094 kB / 475.7 MB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002938/0.6934, allocations: 0.9081 MB / 476.6 MB, free: 72 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002504/0.6937, allocations: 112.7 kB / 476.7 MB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/0.6938, allocations: 16.03 kB / 476.8 MB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007382/0.6946, allocations: 19.98 kB / 476.8 MB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.6947, allocations: 36.39 kB / 476.8 MB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/0.6948, allocations: 23.98 kB / 476.8 MB, free: 15.85 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005228/0.6954, allocations: 261.9 kB / 477.1 MB, free: 15.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6954, allocations: 0 / 477.1 MB, free: 15.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.006284/0.7017, allocations: 1.308 MB / 478.4 MB, free: 14.29 MB / 398.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.01331/0.715, allocations: 3.053 MB / 481.5 MB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003172/0.7182, allocations: 0.8426 MB / 482.3 MB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.7183, allocations: 4 kB / 482.3 MB, free: 10.33 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009985/0.7193, allocations: 291.9 kB / 482.6 MB, free: 10.05 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002586/0.7219, allocations: 277.4 kB / 482.9 MB, free: 9.777 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01621/0.7381, allocations: 5.366 MB / 488.2 MB, free: 4.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006886/0.7389, allocations: 0.8287 MB / 489.1 MB, free: 3.371 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001109/0.74, allocations: 152.2 kB / 489.2 MB, free: 3.223 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004426/0.7405, allocations: 155.4 kB / 489.4 MB, free: 3.07 MB / 398.1 MB Notification: Performance of SimCode: time 1.873e-06/0.7405, allocations: 0 / 489.4 MB, free: 3.07 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1361/0.8766, allocations: 50.29 MB / 0.527 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.76/17.64, allocations: 15.16 kB / 0.527 GB, free: 0.9336 MB / 446.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_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_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches