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.001359/0.001359, allocations: 107.9 kB / 20.48 MB, free: 1.125 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.001414/0.001414, allocations: 210.7 kB / 23.78 MB, free: 4.332 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.392/1.392, allocations: 230.5 MB / 257.4 MB, free: 7.707 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.2248/0.2248, allocations: 46.95 MB / 360.8 MB, free: 3.898 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.002287/0.002287, allocations: 75.88 kB / 0.4962 GB, free: 7.523 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2975, allocations: 66.08 MB / 0.5607 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1642/0.4617, allocations: 131.5 MB / 0.6892 GB, free: 20 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002117/0.4638, allocations: 1.425 MB / 0.6906 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.781e-05/0.4639, allocations: 3.938 kB / 0.6906 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003118/0.4642, allocations: 47.73 kB / 0.6906 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001114/0.4653, allocations: 407.9 kB / 0.691 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004908/0.4658, allocations: 178.8 kB / 0.6912 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002783/0.4661, allocations: 187.2 kB / 0.6913 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.444e-05/0.4661, allocations: 7.938 kB / 0.6914 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.4663, allocations: 83.67 kB / 0.6914 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.4664, allocations: 59.77 kB / 0.6915 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.4665, allocations: 8 kB / 0.6915 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.4675, allocations: 0.5416 MB / 0.692 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.39e-05/0.4675, allocations: 35.89 kB / 0.6921 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.218e-05/0.4676, allocations: 43.86 kB / 0.6921 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000697/0.4683, allocations: 402.9 kB / 0.6925 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.4683, allocations: 0 / 0.6925 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4683, allocations: 0 / 0.6925 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.4683, allocations: 0 / 0.6925 GB, free: 12.61 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.0005629/0.4689, allocations: 357.8 kB / 0.6928 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.4689, allocations: 15.97 kB / 0.6928 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.427e-05/0.469, allocations: 38.73 kB / 0.6929 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002337/0.4713, allocations: 212.6 kB / 0.6931 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.4716, allocations: 169.7 kB / 0.6932 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.4716, allocations: 4 kB / 0.6933 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.79e-05/0.4716, allocations: 11.98 kB / 0.6933 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000533/0.4722, allocations: 278.6 kB / 0.6935 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.4722, allocations: 3.938 kB / 0.6935 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.331e-05/0.4722, allocations: 11.94 kB / 0.6935 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.4722, allocations: 8 kB / 0.6936 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000582/0.4728, allocations: 231.8 kB / 0.6938 GB, free: 11.21 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.001789/0.4746, allocations: 0.559 MB / 0.6943 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004548/0.4751, allocations: 182.5 kB / 0.6945 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.4753, allocations: 88.83 kB / 0.6946 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00013/0.4754, allocations: 15.98 kB / 0.6946 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.4754, allocations: 38.5 kB / 0.6946 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.944e-06/0.4754, allocations: 0 / 0.6946 GB, free: 10.27 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.005895/0.4813, allocations: 1.39 MB / 0.696 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.4814, allocations: 55.34 kB / 0.696 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.4815, allocations: 113.8 kB / 0.6961 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.4815, allocations: 25.7 kB / 0.6962 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/0.4816, allocations: 100.4 kB / 0.6963 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.651e-05/0.4816, allocations: 71.42 kB / 0.6963 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.4817, allocations: 45.66 kB / 0.6964 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.4819, allocations: 326.8 kB / 0.6967 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.4821, allocations: 87.95 kB / 0.6968 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.4823, allocations: 119.4 kB / 0.6969 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004619/0.4828, allocations: 230.6 kB / 0.6971 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4828, allocations: 0 / 0.6971 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006244/0.4834, allocations: 290.2 kB / 0.6974 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.4835, allocations: 4 kB / 0.6974 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.4835, allocations: 4 kB / 0.6974 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001334/0.4836, allocations: 24.84 kB / 0.6974 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004844/0.4841, allocations: 47.97 kB / 0.6975 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004236/0.4845, allocations: 0.5446 MB / 0.698 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003096/0.4848, allocations: 15.92 kB / 0.698 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/0.4848, allocations: 4 kB / 0.698 GB, free: 6.617 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.0001327/0.485, allocations: 125.8 kB / 0.6981 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.492e-05/0.485, allocations: 11.95 kB / 0.6981 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007423/0.4858, allocations: 311.1 kB / 0.6984 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.4858, allocations: 4 kB / 0.6984 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4858, allocations: 0 / 0.6984 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.4858, allocations: 3.984 kB / 0.6985 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.487, allocations: 0.6201 MB / 0.6991 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.487, allocations: 4 kB / 0.6991 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004663/0.4874, allocations: 51.89 kB / 0.6991 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.844e-05/0.4875, allocations: 20.84 kB / 0.6991 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.4875, allocations: 4 kB / 0.6991 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001035/0.4886, allocations: 1.271 MB / 0.7004 GB, free: 4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4886, allocations: 3.938 kB / 0.7004 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008691/0.4894, allocations: 454.6 kB / 0.7008 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.173e-05/0.4895, allocations: 11.95 kB / 0.7008 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.4895, allocations: 4 kB / 0.7008 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003509/0.4899, allocations: 11.98 kB / 0.7008 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.4899, allocations: 20.12 kB / 0.7009 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/0.4899, allocations: 8 kB / 0.7009 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.399e-05/0.49, allocations: 95.56 kB / 0.701 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.49, allocations: 0 / 0.701 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005445/0.4905, allocations: 139.6 kB / 0.7011 GB, free: 3.238 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.001728/0.4923, allocations: 1.137 MB / 0.7022 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006303/0.4929, allocations: 231.9 kB / 0.7024 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4929, allocations: 0 / 0.7024 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004153/0.4933, allocations: 230.5 kB / 0.7026 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.4937, allocations: 44.09 kB / 0.7027 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003124/0.4969, allocations: 2.138 MB / 0.7048 GB, free: 15.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.497, allocations: 101.8 kB / 0.7049 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002768/0.4972, allocations: 53.77 kB / 0.7049 GB, free: 15.13 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.4974, allocations: 39.41 kB / 0.705 GB, free: 15.09 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.4974, allocations: 0 / 0.705 GB, free: 15.09 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03902/0.5364, allocations: 8.768 MB / 0.7135 GB, free: 6.438 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.35, allocations: 2.906 kB / 0.7135 GB, free: 6.438 MB / 0.545 GB " [Timeout remaining time 647] (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.264570032002666]