Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001268/0.001268, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001356/0.001356, allocations: 218 kB / 24.52 MB, free: 3.91 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.464/1.464, allocations: 230.6 MB / 258.3 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2224/0.2224, allocations: 44.93 MB / 359.6 MB, free: 6.055 MB / 286.1 MB " [Timeout remaining time 180] 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.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_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 67.91 kB / 0.4938 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3252, allocations: 65.47 MB / 0.5577 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.161/0.4862, allocations: 131.4 MB / 0.6861 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002184/0.4884, allocations: 1.433 MB / 0.6875 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.901e-05/0.4885, allocations: 0 / 0.6875 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003444/0.4889, allocations: 51.73 kB / 0.6875 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001176/0.49, allocations: 411.9 kB / 0.6879 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005036/0.4905, allocations: 179.1 kB / 0.6881 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.4908, allocations: 183.2 kB / 0.6882 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.409e-05/0.4909, allocations: 8 kB / 0.6883 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.4911, allocations: 87.67 kB / 0.6883 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.4912, allocations: 67.73 kB / 0.6884 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.4912, allocations: 4 kB / 0.6884 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.4924, allocations: 0.5534 MB / 0.6889 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.13e-05/0.4924, allocations: 27.91 kB / 0.689 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.153e-05/0.4925, allocations: 47.84 kB / 0.689 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007598/0.4933, allocations: 406.9 kB / 0.6894 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.4933, allocations: 0 / 0.6894 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4933, allocations: 0 / 0.6894 GB, free: 196 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.4933, allocations: 4 kB / 0.6894 GB, free: 192 kB / 0.5137 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.000729/0.494, allocations: 361.7 kB / 0.6898 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.4941, allocations: 8.031 kB / 0.6898 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.434e-05/0.4941, allocations: 4.375 kB / 0.6898 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.78e-05/0.4941, allocations: 42.75 kB / 0.6898 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002339/0.4965, allocations: 196.6 kB / 0.69 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.4968, allocations: 157.3 kB / 0.6901 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.4968, allocations: 12 kB / 0.6902 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.853e-05/0.4969, allocations: 8 kB / 0.6902 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005792/0.4975, allocations: 278.6 kB / 0.6904 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.4975, allocations: 3.938 kB / 0.6904 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.753e-05/0.4975, allocations: 4 kB / 0.6904 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.4975, allocations: 0 / 0.6904 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006227/0.4981, allocations: 239.7 kB / 0.6907 GB, free: 14.81 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.001889/0.5, allocations: 0.5627 MB / 0.6912 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000458/0.5005, allocations: 186.5 kB / 0.6914 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.5007, allocations: 92.75 kB / 0.6915 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/0.5009, allocations: 8 kB / 0.6915 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.552e-05/0.5009, allocations: 38.56 kB / 0.6915 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.974e-06/0.5009, allocations: 4 kB / 0.6915 GB, free: 13.86 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.005901/0.5068, allocations: 1.396 MB / 0.6929 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.5069, allocations: 51.41 kB / 0.6929 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.507, allocations: 109.8 kB / 0.693 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/0.507, allocations: 29.7 kB / 0.6931 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.916e-05/0.5071, allocations: 100.4 kB / 0.6932 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.537e-05/0.5071, allocations: 71.41 kB / 0.6932 GB, free: 12 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.5073, allocations: 41.7 kB / 0.6933 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.5074, allocations: 322.8 kB / 0.6936 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/0.5076, allocations: 87.95 kB / 0.6937 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.5079, allocations: 129 kB / 0.6938 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004714/0.5084, allocations: 229.1 kB / 0.694 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.5084, allocations: 0 / 0.694 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006565/0.509, allocations: 288.3 kB / 0.6943 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.509, allocations: 10.75 kB / 0.6943 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.509, allocations: 4 kB / 0.6943 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000153/0.5092, allocations: 16.84 kB / 0.6943 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004618/0.5097, allocations: 63.89 kB / 0.6944 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000459/0.5101, allocations: 0.5329 MB / 0.6949 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002846/0.5104, allocations: 11.98 kB / 0.6949 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/0.5104, allocations: 8 kB / 0.6949 GB, free: 10.21 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.0001589/0.5106, allocations: 129.9 kB / 0.695 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.638e-05/0.5107, allocations: 15.88 kB / 0.6951 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008131/0.5115, allocations: 313.2 kB / 0.6954 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.5115, allocations: 4 kB / 0.6954 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.5115, allocations: 7.938 kB / 0.6954 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.5115, allocations: 3.984 kB / 0.6954 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.5127, allocations: 0.6046 MB / 0.696 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.5127, allocations: 4 kB / 0.696 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004584/0.5132, allocations: 51.98 kB / 0.696 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001067/0.5133, allocations: 24.84 kB / 0.696 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.567e-05/0.5134, allocations: 11.94 kB / 0.696 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.5144, allocations: 1.267 MB / 0.6973 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5144, allocations: 0 / 0.6973 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009422/0.5154, allocations: 454.7 kB / 0.6977 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.314e-05/0.5154, allocations: 15.98 kB / 0.6977 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.5155, allocations: 0 / 0.6977 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003317/0.5158, allocations: 11.98 kB / 0.6977 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.5158, allocations: 15.97 kB / 0.6978 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/0.5159, allocations: 15.98 kB / 0.6978 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.173e-05/0.5159, allocations: 91.22 kB / 0.6979 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.5159, allocations: 0 / 0.6979 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006367/0.5166, allocations: 135.7 kB / 0.698 GB, free: 6.832 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.001894/0.5185, allocations: 1.14 MB / 0.6991 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007031/0.5192, allocations: 223.8 kB / 0.6993 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.5192, allocations: 0 / 0.6993 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004748/0.5197, allocations: 238.9 kB / 0.6995 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005105/0.5202, allocations: 53.05 kB / 0.6996 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003469/0.5236, allocations: 2.124 MB / 0.7017 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.5237, allocations: 93.97 kB / 0.7018 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003014/0.524, allocations: 61.53 kB / 0.7018 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.5242, allocations: 43.41 kB / 0.7019 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of SimCode: time 9.12e-07/0.5242, allocations: 0 / 0.7019 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03304/0.5572, allocations: 8.409 MB / 0.7101 GB, free: 10.43 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/13.8, allocations: 4.062 kB / 0.7101 GB, free: 10.42 MB / 0.545 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.961797030060552]