Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2",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.001112/0.001112, allocations: 105.5 kB / 17.63 MB, free: 5.344 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.001405/0.001405, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2202/0.2202, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 67.06 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1157, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3689/0.4846, allocations: 149.4 MB / 0.6042 GB, free: 11.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.486, allocations: 0.9673 MB / 0.6052 GB, free: 10.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.833e-05/0.4861, allocations: 0 / 0.6052 GB, free: 10.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.4863, allocations: 31.77 kB / 0.6052 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007165/0.4871, allocations: 247.4 kB / 0.6054 GB, free: 9.988 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003792/0.4875, allocations: 116.9 kB / 0.6055 GB, free: 9.879 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.4878, allocations: 167.3 kB / 0.6057 GB, free: 9.715 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.941e-05/0.4878, allocations: 10.23 kB / 0.6057 GB, free: 9.707 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002288/0.4881, allocations: 83.64 kB / 0.6058 GB, free: 9.625 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.4882, allocations: 55.83 kB / 0.6058 GB, free: 9.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.4882, allocations: 4 kB / 0.6058 GB, free: 9.566 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000633/0.4889, allocations: 263.7 kB / 0.6061 GB, free: 9.309 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.017e-05/0.489, allocations: 19.92 kB / 0.6061 GB, free: 9.289 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.879e-05/0.4891, allocations: 55.72 kB / 0.6062 GB, free: 9.234 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005628/0.4896, allocations: 271.4 kB / 0.6064 GB, free: 8.969 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.4896, allocations: 0 / 0.6064 GB, free: 8.969 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4897, allocations: 0 / 0.6064 GB, free: 8.969 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.4897, allocations: 0 / 0.6064 GB, free: 8.969 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006627/0.4903, allocations: 412 kB / 0.6068 GB, free: 8.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.4904, allocations: 12.03 kB / 0.6068 GB, free: 8.508 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.691e-05/0.4905, allocations: 38.73 kB / 0.6069 GB, free: 8.461 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002246/0.4927, allocations: 188.5 kB / 0.6071 GB, free: 8.277 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.493, allocations: 211.7 kB / 0.6073 GB, free: 8.031 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.493, allocations: 9.312 kB / 0.6073 GB, free: 8.023 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.331e-05/0.4931, allocations: 16 kB / 0.6073 GB, free: 8.008 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005338/0.4936, allocations: 216.1 kB / 0.6075 GB, free: 7.781 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.4937, allocations: 0 / 0.6075 GB, free: 7.781 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.825e-05/0.4937, allocations: 4 kB / 0.6075 GB, free: 7.777 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.445e-06/0.4937, allocations: 4 kB / 0.6075 GB, free: 7.773 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000456/0.4942, allocations: 171.8 kB / 0.6077 GB, free: 7.605 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.4953, allocations: 0.5796 MB / 0.6082 GB, free: 6.969 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003327/0.4957, allocations: 134.5 kB / 0.6083 GB, free: 6.828 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.4958, allocations: 76.83 kB / 0.6084 GB, free: 6.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.4959, allocations: 3.984 kB / 0.6084 GB, free: 6.746 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.4959, allocations: 38.5 kB / 0.6085 GB, free: 6.699 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.4959, allocations: 0 / 0.6085 GB, free: 6.699 MB / 446.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005642/0.5016, allocations: 1.305 MB / 0.6097 GB, free: 5.309 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.5016, allocations: 51.41 kB / 0.6098 GB, free: 5.246 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.5017, allocations: 113.8 kB / 0.6099 GB, free: 5.125 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.5018, allocations: 25.7 kB / 0.6099 GB, free: 5.094 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.187e-05/0.5018, allocations: 95.95 kB / 0.61 GB, free: 4.996 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.21e-05/0.5019, allocations: 75.03 kB / 0.6101 GB, free: 4.922 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.003e-05/0.502, allocations: 53.69 kB / 0.6101 GB, free: 4.863 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.5021, allocations: 318.8 kB / 0.6104 GB, free: 4.543 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.5023, allocations: 71.89 kB / 0.6105 GB, free: 4.473 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.5025, allocations: 108.8 kB / 0.6106 GB, free: 4.355 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/0.5028, allocations: 185 kB / 0.6108 GB, free: 4.164 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.5028, allocations: 0 / 0.6108 GB, free: 4.164 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004964/0.5033, allocations: 258.2 kB / 0.611 GB, free: 3.902 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.5034, allocations: 4 kB / 0.611 GB, free: 3.898 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.5034, allocations: 8.031 kB / 0.611 GB, free: 3.891 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001906/0.5036, allocations: 52.83 kB / 0.6111 GB, free: 3.836 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/0.5039, allocations: 59.89 kB / 0.6112 GB, free: 3.777 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000408/0.5043, allocations: 0.5602 MB / 0.6117 GB, free: 3.191 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.5045, allocations: 8.109 kB / 0.6117 GB, free: 3.184 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.214e-05/0.5046, allocations: 28 kB / 0.6117 GB, free: 3.156 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001266/0.5047, allocations: 124 kB / 0.6119 GB, free: 3.027 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/0.5048, allocations: 11.91 kB / 0.6119 GB, free: 3.016 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008254/0.5056, allocations: 343 kB / 0.6122 GB, free: 2.668 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.5056, allocations: 4 kB / 0.6122 GB, free: 2.664 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5056, allocations: 4 kB / 0.6122 GB, free: 2.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5056, allocations: 0 / 0.6122 GB, free: 2.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009842/0.5066, allocations: 0.6262 MB / 0.6128 GB, free: 1.969 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.5067, allocations: 4.875 kB / 0.6128 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003406/0.507, allocations: 55.95 kB / 0.6129 GB, free: 1.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.402e-05/0.5071, allocations: 28.88 kB / 0.6129 GB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/0.5071, allocations: 15.98 kB / 0.6129 GB, free: 1.863 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009269/0.5081, allocations: 1.364 MB / 0.6142 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.5081, allocations: 11.97 kB / 0.6143 GB, free: 356 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006797/0.5088, allocations: 437.6 kB / 0.6147 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.5088, allocations: 85.05 kB / 0.6148 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.545e-05/0.5089, allocations: 8 kB / 0.6148 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.5091, allocations: 8 kB / 0.6148 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/0.5092, allocations: 31.84 kB / 0.6148 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.75e-05/0.5092, allocations: 28.05 kB / 0.6148 GB, free: 15.72 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.994e-05/0.5093, allocations: 91.27 kB / 0.6149 GB, free: 15.63 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5093, allocations: 0 / 0.6149 GB, free: 15.63 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004182/0.5097, allocations: 83.94 kB / 0.615 GB, free: 15.55 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (21): * Single equations (assignments): 20 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001218/0.5109, allocations: 0.9968 MB / 0.616 GB, free: 14.51 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005174/0.5115, allocations: 223.6 kB / 0.6162 GB, free: 14.29 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.5115, allocations: 0 / 0.6162 GB, free: 14.29 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003402/0.5118, allocations: 222.8 kB / 0.6164 GB, free: 14.06 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004659/0.5123, allocations: 48.48 kB / 0.6164 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002822/0.5151, allocations: 2.063 MB / 0.6185 GB, free: 11.84 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.5154, allocations: 0.7046 MB / 0.6191 GB, free: 11.11 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00046/0.5159, allocations: 81.39 kB / 0.6192 GB, free: 11.03 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.5161, allocations: 63.41 kB / 0.6193 GB, free: 10.96 MB / 462.1 MB Notification: Performance of SimCode: time 3.5e-07/0.5161, allocations: 0 / 0.6193 GB, free: 10.96 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04732/0.5635, allocations: 7.24 MB / 0.6263 GB, free: 3.82 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.21, allocations: 1.031 kB / 0.6263 GB, free: 3.82 MB / 462.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches