Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001924/0.001924, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002178/0.002178, allocations: 213.2 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 230.5 MB / 257.4 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.269/0.269, allocations: 46.96 MB / 360.8 MB, free: 3.941 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002348/0.002348, allocations: 79.88 kB / 0.4961 GB, free: 7.574 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3042, allocations: 66.08 MB / 0.5607 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1766/0.4808, allocations: 131.5 MB / 0.6891 GB, free: 44 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002179/0.483, allocations: 1.433 MB / 0.6905 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.892e-05/0.483, allocations: 4 kB / 0.6905 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003545/0.4834, allocations: 39.75 kB / 0.6905 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001061/0.4844, allocations: 423.8 kB / 0.6909 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000529/0.485, allocations: 167.5 kB / 0.6911 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002912/0.4853, allocations: 187.2 kB / 0.6913 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.368e-05/0.4853, allocations: 3.938 kB / 0.6913 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.4855, allocations: 87.62 kB / 0.6914 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.4857, allocations: 59.8 kB / 0.6914 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.4857, allocations: 4 kB / 0.6914 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.4868, allocations: 0.5455 MB / 0.692 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.883e-05/0.4868, allocations: 35.84 kB / 0.692 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.653e-05/0.4869, allocations: 43.84 kB / 0.692 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006134/0.4875, allocations: 406.9 kB / 0.6924 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4875, allocations: 0 / 0.6924 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4875, allocations: 0 / 0.6924 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.972e-06/0.4875, allocations: 0 / 0.6924 GB, free: 12.62 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.0006044/0.4881, allocations: 361.7 kB / 0.6928 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.4882, allocations: 8.031 kB / 0.6928 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.171e-05/0.4882, allocations: 46.73 kB / 0.6928 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00227/0.4905, allocations: 196.6 kB / 0.693 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.4908, allocations: 157.8 kB / 0.6932 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.4908, allocations: 8 kB / 0.6932 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.614e-05/0.4908, allocations: 8 kB / 0.6932 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005354/0.4914, allocations: 282.5 kB / 0.6935 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.4914, allocations: 0 / 0.6935 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.4914, allocations: 7.938 kB / 0.6935 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.4914, allocations: 4 kB / 0.6935 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005963/0.492, allocations: 235.8 kB / 0.6937 GB, free: 11.25 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.00184/0.4939, allocations: 0.5628 MB / 0.6942 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004541/0.4943, allocations: 189.8 kB / 0.6944 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.4945, allocations: 88.81 kB / 0.6945 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.4947, allocations: 15.98 kB / 0.6945 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.4947, allocations: 38.56 kB / 0.6946 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.4947, allocations: 0 / 0.6946 GB, free: 10.3 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.005945/0.5006, allocations: 1.387 MB / 0.6959 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.5007, allocations: 51.41 kB / 0.696 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.5008, allocations: 109.8 kB / 0.6961 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/0.5008, allocations: 29.7 kB / 0.6961 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.819e-05/0.5009, allocations: 108.3 kB / 0.6962 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.622e-05/0.501, allocations: 67.42 kB / 0.6963 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.5011, allocations: 49.64 kB / 0.6963 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.5013, allocations: 322.8 kB / 0.6966 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.5015, allocations: 95.95 kB / 0.6967 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.5018, allocations: 123.3 kB / 0.6968 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004819/0.5023, allocations: 222.9 kB / 0.697 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.5023, allocations: 3.938 kB / 0.697 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006466/0.5029, allocations: 282.3 kB / 0.6973 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.503, allocations: 6.188 kB / 0.6973 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.503, allocations: 7.938 kB / 0.6973 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001374/0.5031, allocations: 24.84 kB / 0.6973 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004541/0.5036, allocations: 55.89 kB / 0.6974 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004563/0.504, allocations: 0.5367 MB / 0.6979 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002816/0.5043, allocations: 12.19 kB / 0.6979 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.5043, allocations: 7.984 kB / 0.6979 GB, free: 6.648 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.0001429/0.5045, allocations: 125.8 kB / 0.6981 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.185e-05/0.5045, allocations: 7.953 kB / 0.6981 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007995/0.5053, allocations: 327.2 kB / 0.6984 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/0.5053, allocations: 4 kB / 0.6984 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.5054, allocations: 4 kB / 0.6984 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5054, allocations: 0 / 0.6984 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.5066, allocations: 0.6084 MB / 0.699 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5066, allocations: 8.094 kB / 0.699 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004406/0.507, allocations: 47.95 kB / 0.699 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.383e-05/0.5071, allocations: 20.84 kB / 0.6991 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.323e-05/0.5071, allocations: 11.98 kB / 0.6991 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.5082, allocations: 1.256 MB / 0.7003 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5082, allocations: 4.156 kB / 0.7003 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008894/0.5091, allocations: 458.6 kB / 0.7007 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.922e-05/0.5091, allocations: 11.94 kB / 0.7007 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.5091, allocations: 0 / 0.7007 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003332/0.5095, allocations: 8 kB / 0.7008 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.5095, allocations: 23.91 kB / 0.7008 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.5095, allocations: 11.98 kB / 0.7008 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.838e-05/0.5096, allocations: 95.33 kB / 0.7009 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5e-08/0.5096, allocations: 0 / 0.7009 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005647/0.5102, allocations: 139.6 kB / 0.701 GB, free: 3.273 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.001794/0.512, allocations: 1.136 MB / 0.7021 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006324/0.5126, allocations: 231.7 kB / 0.7023 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.5126, allocations: 192 / 0.7023 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004429/0.513, allocations: 232.6 kB / 0.7026 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.5135, allocations: 43.95 kB / 0.7026 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003285/0.5168, allocations: 2.132 MB / 0.7047 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.5169, allocations: 97.83 kB / 0.7048 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003363/0.5172, allocations: 57.53 kB / 0.7048 GB, free: 15.17 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.5174, allocations: 39.42 kB / 0.7049 GB, free: 15.13 MB / 0.545 GB Notification: Performance of SimCode: time 6.61e-07/0.5174, allocations: 3.938 kB / 0.7049 GB, free: 15.12 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0403/0.5577, allocations: 8.684 MB / 0.7134 GB, free: 6.551 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/13.94, allocations: 11.38 kB / 0.7134 GB, free: 6.543 MB / 0.545 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.928945561870933]