Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.MoistAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",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.001762/0.001762, allocations: 107.9 kB / 16.92 MB, free: 6.195 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.002027/0.002027, allocations: 191.4 kB / 17.85 MB, free: 5.297 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.291/2.291, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 45.83 kB / 300.7 MB, free: 5.785 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1521, allocations: 49.44 MB / 350.2 MB, free: 4.332 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.3868/0.539, allocations: 65.57 MB / 415.7 MB, free: 476 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008317/0.5473, allocations: 5.458 MB / 421.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005942/0.548, allocations: 4.938 kB / 421.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.5494, allocations: 351.2 kB / 421.5 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001585/0.5511, allocations: 0.5038 MB / 422 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02216/0.5733, allocations: 7.426 MB / 429.5 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002123/0.5754, allocations: 1.551 MB / 431 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004365/0.5759, allocations: 220.7 kB / 431.2 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001306/0.5772, allocations: 0.623 MB / 431.9 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001491/0.5787, allocations: 0.5683 MB / 432.4 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003433/0.5791, allocations: 84 kB / 432.5 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02403/0.6031, allocations: 10.02 MB / 442.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00105/0.6042, allocations: 323.2 kB / 442.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001565/0.6058, allocations: 438.4 kB / 443.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02287/0.6287, allocations: 5.941 MB / 449.2 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.6288, allocations: 0 / 449.2 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.586e-06/0.6288, allocations: 0 / 449.2 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.749e-05/0.6288, allocations: 3.938 kB / 449.2 MB, free: 0.8906 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.005444/0.6343, allocations: 1.557 MB / 450.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.542e-05/0.6344, allocations: 16.02 kB / 450.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002712/0.6347, allocations: 98.52 kB / 450.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008229/0.6355, allocations: 87.23 kB / 451 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.6366, allocations: 436.9 kB / 451.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.41e-05/0.6367, allocations: 49.25 kB / 451.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.6368, allocations: 64 kB / 451.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002994/0.6398, allocations: 0.8068 MB / 452.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.87e-05/0.6399, allocations: 3.906 kB / 452.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.64, allocations: 28 kB / 452.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.797e-05/0.6401, allocations: 12 kB / 452.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003073/0.6432, allocations: 1.032 MB / 453.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0285/0.6717, allocations: 12.8 MB / 466.2 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003061/0.6748, allocations: 0.7337 MB / 466.9 MB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/0.6759, allocations: 412.2 kB / 467.3 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02496/0.7009, allocations: 12.24 MB / 479.6 MB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.571e-05/0.701, allocations: 47.22 kB / 479.6 MB, free: 13.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 5.741e-06/0.701, allocations: 0 / 479.6 MB, free: 13.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=88): time 0.01727/0.7183, allocations: 3.39 MB / 483 MB, free: 10.37 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/0.7184, allocations: 60.41 kB / 483.1 MB, free: 10.29 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007114/0.7192, allocations: 352.5 kB / 483.4 MB, free: 9.945 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001744/0.7193, allocations: 41.7 kB / 483.4 MB, free: 9.898 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000266/0.7196, allocations: 240.6 kB / 483.7 MB, free: 9.656 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004313/0.7201, allocations: 307.6 kB / 484 MB, free: 9.352 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000429/0.7205, allocations: 162.5 kB / 484.1 MB, free: 9.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002352/0.7208, allocations: 362.8 kB / 484.5 MB, free: 8.824 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009824/0.7218, allocations: 373.8 kB / 484.9 MB, free: 8.457 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/0.7234, allocations: 492.2 kB / 485.3 MB, free: 7.941 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003099/0.7265, allocations: 0.9098 MB / 486.2 MB, free: 7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/0.7265, allocations: 4 kB / 486.3 MB, free: 6.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.004801/0.7313, allocations: 1.105 MB / 487.4 MB, free: 5.871 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/0.7314, allocations: 16.22 kB / 487.4 MB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.7314, allocations: 4 kB / 487.4 MB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001442/0.7329, allocations: 163.3 kB / 487.5 MB, free: 5.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.7341, allocations: 195.7 kB / 487.7 MB, free: 5.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004624/0.7387, allocations: 4.113 MB / 491.8 MB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007126/0.7395, allocations: 24.03 kB / 491.9 MB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001912/0.7397, allocations: 39.98 kB / 491.9 MB, free: 0.9844 MB / 398.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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 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.0006332/0.7403, allocations: 229.6 kB / 492.1 MB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008101/0.7411, allocations: 63.34 kB / 492.2 MB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004028/0.7452, allocations: 1.281 MB / 493.5 MB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/0.7452, allocations: 12 kB / 493.5 MB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.7452, allocations: 7.984 kB / 493.5 MB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003012/0.7483, allocations: 1.316 MB / 494.8 MB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005234/0.7535, allocations: 1.971 MB / 496.8 MB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.7536, allocations: 8.062 kB / 496.8 MB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.7547, allocations: 163.8 kB / 496.9 MB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002321/0.7571, allocations: 297.2 kB / 497.2 MB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.7572, allocations: 27.98 kB / 497.3 MB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009398/0.7581, allocations: 1.297 MB / 498.6 MB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.7582, allocations: 0 / 498.6 MB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003063/0.7612, allocations: 1.417 MB / 500 MB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002407/0.7615, allocations: 124.5 kB / 0.4884 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.7616, allocations: 24.05 kB / 0.4884 GB, free: 8.422 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006595/0.7623, allocations: 27.98 kB / 0.4884 GB, free: 8.395 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.7624, allocations: 52.92 kB / 0.4885 GB, free: 8.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/0.7626, allocations: 43.97 kB / 0.4885 GB, free: 8.301 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003831/0.763, allocations: 287 kB / 0.4888 GB, free: 8.023 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.763, allocations: 0 / 0.4888 GB, free: 8.023 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004363/0.7673, allocations: 1.398 MB / 0.4902 GB, free: 6.625 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01026/0.7776, allocations: 3.596 MB / 0.4937 GB, free: 3.004 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003106/0.7807, allocations: 1.265 MB / 0.4949 GB, free: 1.703 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.7808, allocations: 4 kB / 0.4949 GB, free: 1.699 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009929/0.7818, allocations: 491.2 kB / 0.4954 GB, free: 1.215 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/0.7841, allocations: 397 kB / 0.4958 GB, free: 0.832 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0194/0.8035, allocations: 7.166 MB / 0.5028 GB, free: 9.496 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009404/0.8045, allocations: 0.9128 MB / 0.5036 GB, free: 8.559 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001842/0.8064, allocations: 209 kB / 0.5038 GB, free: 8.355 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007067/0.8071, allocations: 227.4 kB / 0.5041 GB, free: 8.133 MB / 430.1 MB Notification: Performance of SimCode: time 1.753e-06/0.8071, allocations: 3.938 kB / 0.5041 GB, free: 8.129 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4089/1.216, allocations: 56.64 MB / 0.5594 GB, free: 135.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.69/16.9, allocations: 10.28 kB / 0.5594 GB, free: 135.3 MB / 446.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_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_MoistAir2.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches