Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.001234/0.001234, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001411/0.001411, allocations: 212.4 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.399/1.399, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2175/0.2175, allocations: 46.97 MB / 360.9 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 67.89 kB / 0.4961 GB, free: 8.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3343, allocations: 66.02 MB / 0.5606 GB, free: 33.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1577/0.492, allocations: 131.5 MB / 0.689 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002063/0.494, allocations: 1.433 MB / 0.6904 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.347e-05/0.4941, allocations: 4 kB / 0.6904 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003139/0.4944, allocations: 43.75 kB / 0.6905 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001072/0.4955, allocations: 415.8 kB / 0.6909 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004978/0.496, allocations: 167.5 kB / 0.691 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002714/0.4962, allocations: 187.2 kB / 0.6912 GB, free: 460 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.621e-05/0.4963, allocations: 7.938 kB / 0.6912 GB, free: 452 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.4965, allocations: 87.61 kB / 0.6913 GB, free: 364 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.4966, allocations: 55.83 kB / 0.6913 GB, free: 308 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.4966, allocations: 8 kB / 0.6913 GB, free: 300 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.4977, allocations: 0.5416 MB / 0.6919 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.403e-05/0.4978, allocations: 35.89 kB / 0.6919 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.217e-05/0.4978, allocations: 47.73 kB / 0.6919 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006684/0.4985, allocations: 406.9 kB / 0.6923 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.4985, allocations: 0 / 0.6923 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4985, allocations: 0 / 0.6923 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.4985, allocations: 0 / 0.6923 GB, free: 15.27 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005582/0.4991, allocations: 357.8 kB / 0.6927 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.4991, allocations: 12.03 kB / 0.6927 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.914e-05/0.4991, allocations: 42.73 kB / 0.6927 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002163/0.5013, allocations: 196.6 kB / 0.6929 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.5016, allocations: 161.8 kB / 0.6931 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.5016, allocations: 4 kB / 0.6931 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.515e-05/0.5016, allocations: 11.94 kB / 0.6931 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005136/0.5021, allocations: 286.5 kB / 0.6934 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.5021, allocations: 0 / 0.6934 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/0.5022, allocations: 7.938 kB / 0.6934 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.5022, allocations: 4 kB / 0.6934 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005847/0.5028, allocations: 227.9 kB / 0.6936 GB, free: 13.9 MB / 0.5294 GB 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.001732/0.5045, allocations: 0.5629 MB / 0.6941 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004596/0.505, allocations: 192.9 kB / 0.6943 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/0.5052, allocations: 84.83 kB / 0.6944 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.5053, allocations: 15.98 kB / 0.6944 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.5053, allocations: 34.56 kB / 0.6945 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.5053, allocations: 0 / 0.6945 GB, free: 12.95 MB / 0.5294 GB 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.005586/0.5109, allocations: 1.394 MB / 0.6958 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.511, allocations: 51.41 kB / 0.6959 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.5111, allocations: 113.8 kB / 0.696 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.5111, allocations: 25.7 kB / 0.696 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.849e-05/0.5112, allocations: 104.4 kB / 0.6961 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.573e-05/0.5112, allocations: 75.36 kB / 0.6962 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-05/0.5113, allocations: 49.59 kB / 0.6962 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.5115, allocations: 326.8 kB / 0.6965 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.5117, allocations: 87.95 kB / 0.6966 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.5119, allocations: 127 kB / 0.6967 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004876/0.5124, allocations: 229.1 kB / 0.697 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.5124, allocations: 0 / 0.697 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006348/0.5131, allocations: 278.3 kB / 0.6972 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.5131, allocations: 4 kB / 0.6972 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.5131, allocations: 4 kB / 0.6972 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001474/0.5132, allocations: 24.94 kB / 0.6972 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004495/0.5137, allocations: 55.91 kB / 0.6973 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004456/0.5141, allocations: 0.5367 MB / 0.6978 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002896/0.5144, allocations: 11.98 kB / 0.6978 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/0.5144, allocations: 11.94 kB / 0.6978 GB, free: 9.293 MB / 0.5294 GB 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.000133/0.5146, allocations: 117.8 kB / 0.698 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.448e-05/0.5146, allocations: 11.95 kB / 0.698 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007496/0.5154, allocations: 321.8 kB / 0.6983 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.5154, allocations: 4 kB / 0.6983 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.5154, allocations: 3.984 kB / 0.6983 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.5154, allocations: 3.984 kB / 0.6983 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.5165, allocations: 0.6241 MB / 0.6989 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5165, allocations: 0 / 0.6989 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004323/0.517, allocations: 47.95 kB / 0.6989 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.341e-05/0.517, allocations: 24.78 kB / 0.699 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/0.5171, allocations: 4 kB / 0.699 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.5181, allocations: 1.26 MB / 0.7002 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5181, allocations: 3.938 kB / 0.7002 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009191/0.519, allocations: 452.8 kB / 0.7006 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.972e-05/0.519, allocations: 8.172 kB / 0.7006 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.5191, allocations: 8 kB / 0.7007 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003247/0.5194, allocations: 11.98 kB / 0.7007 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.5194, allocations: 19.91 kB / 0.7007 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/0.5195, allocations: 11.94 kB / 0.7007 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.989e-05/0.5195, allocations: 91.27 kB / 0.7008 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5195, allocations: 0 / 0.7008 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005602/0.5201, allocations: 139.6 kB / 0.7009 GB, free: 5.926 MB / 0.5294 GB 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 (19): * Single equations (assignments): 18 * 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.001772/0.5219, allocations: 1.145 MB / 0.702 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006536/0.5225, allocations: 231.7 kB / 0.7023 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.5225, allocations: 0 / 0.7023 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004094/0.5229, allocations: 230.6 kB / 0.7025 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.5234, allocations: 47.25 kB / 0.7025 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003183/0.5266, allocations: 2.139 MB / 0.7046 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.5267, allocations: 101.8 kB / 0.7047 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003064/0.527, allocations: 49.39 kB / 0.7048 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.5271, allocations: 39.41 kB / 0.7048 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of SimCode: time 8.12e-07/0.5271, allocations: 4 kB / 0.7048 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0375/0.5646, allocations: 8.688 MB / 0.7133 GB, free: 9.23 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/13.82, allocations: 4 kB / 0.7133 GB, free: 9.227 MB / 0.545 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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: 16.784346152096987]