Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001486/0.001486, allocations: 110 kB / 19.69 MB, free: 2.203 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.0021/0.0021, allocations: 219.3 kB / 23 MB, free: 5.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 207.6 MB / 233.8 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.21/0.21, allocations: 44.24 MB / 330.3 MB, free: 9.512 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002167/0.002167, allocations: 70.88 kB / 467.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1143, allocations: 61.04 MB / 0.5161 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3937/0.508, allocations: 151.4 MB / 0.6639 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001938/0.5099, allocations: 1.501 MB / 0.6654 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.314e-05/0.51, allocations: 4 kB / 0.6654 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003112/0.5103, allocations: 55.72 kB / 0.6655 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008696/0.5112, allocations: 405.9 kB / 0.6658 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004445/0.5116, allocations: 175.4 kB / 0.666 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002535/0.5119, allocations: 175.3 kB / 0.6662 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.929e-05/0.5119, allocations: 11.97 kB / 0.6662 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.5121, allocations: 79.69 kB / 0.6663 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.5122, allocations: 63.75 kB / 0.6663 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.5122, allocations: 8 kB / 0.6663 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.5133, allocations: 0.608 MB / 0.6669 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.406e-05/0.5134, allocations: 31.91 kB / 0.667 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.973e-05/0.5134, allocations: 55.78 kB / 0.667 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005947/0.514, allocations: 385.1 kB / 0.6674 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.514, allocations: 0 / 0.6674 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.514, allocations: 0 / 0.6674 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.514, allocations: 0 / 0.6674 GB, free: 9.043 MB / 0.4981 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.000554/0.5146, allocations: 349.9 kB / 0.6677 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.5146, allocations: 12.03 kB / 0.6677 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.976e-05/0.5147, allocations: 42.73 kB / 0.6678 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/0.5168, allocations: 197.1 kB / 0.668 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.5171, allocations: 150.6 kB / 0.6681 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.5171, allocations: 11.94 kB / 0.6681 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.5171, allocations: 8 kB / 0.6681 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004669/0.5176, allocations: 201.5 kB / 0.6683 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.5176, allocations: 4 kB / 0.6683 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.5176, allocations: 4 kB / 0.6683 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.5176, allocations: 7.938 kB / 0.6683 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005803/0.5182, allocations: 243.7 kB / 0.6686 GB, free: 7.77 MB / 0.4981 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.001734/0.5199, allocations: 0.6073 MB / 0.6691 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004519/0.5204, allocations: 186.4 kB / 0.6693 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.5206, allocations: 96.75 kB / 0.6694 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001273/0.5207, allocations: 15.98 kB / 0.6694 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.5208, allocations: 34.56 kB / 0.6695 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.724e-06/0.5208, allocations: 4 kB / 0.6695 GB, free: 6.77 MB / 0.4981 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.00539/0.5262, allocations: 1.385 MB / 0.6708 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.5262, allocations: 51.41 kB / 0.6709 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.708e-05/0.5263, allocations: 109.8 kB / 0.671 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.5263, allocations: 29.7 kB / 0.671 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.373e-05/0.5264, allocations: 104.3 kB / 0.6711 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.482e-05/0.5265, allocations: 71.39 kB / 0.6712 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.423e-05/0.5266, allocations: 45.69 kB / 0.6712 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.5267, allocations: 322.8 kB / 0.6715 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.5269, allocations: 87.95 kB / 0.6716 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.5272, allocations: 123.2 kB / 0.6717 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004626/0.5276, allocations: 231.2 kB / 0.6719 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.5276, allocations: 3.938 kB / 0.6719 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006333/0.5283, allocations: 282.2 kB / 0.6722 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.5283, allocations: 8.094 kB / 0.6722 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.5283, allocations: 4 kB / 0.6722 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001294/0.5284, allocations: 24.84 kB / 0.6723 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004578/0.5289, allocations: 59.89 kB / 0.6723 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004013/0.5293, allocations: 0.5332 MB / 0.6728 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/0.5295, allocations: 8.094 kB / 0.6728 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.5296, allocations: 11.98 kB / 0.6728 GB, free: 3.125 MB / 0.4981 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.0001479/0.5297, allocations: 129.7 kB / 0.673 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.562e-05/0.5298, allocations: 11.91 kB / 0.673 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007505/0.5305, allocations: 326.9 kB / 0.6733 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.5305, allocations: 0 / 0.6733 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.5306, allocations: 7.938 kB / 0.6733 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.351e-06/0.5306, allocations: 3 kB / 0.6733 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.5317, allocations: 0.6377 MB / 0.6739 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.5317, allocations: 0 / 0.6739 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000454/0.5322, allocations: 55.89 kB / 0.674 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.849e-05/0.5323, allocations: 24.8 kB / 0.674 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.861e-05/0.5323, allocations: 11.98 kB / 0.674 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/0.5334, allocations: 1.26 MB / 0.6752 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5334, allocations: 0 / 0.6752 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008877/0.5343, allocations: 454.2 kB / 0.6757 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.485e-05/0.5343, allocations: 15.88 kB / 0.6757 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.623e-05/0.5344, allocations: 8 kB / 0.6757 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003168/0.5347, allocations: 7.984 kB / 0.6757 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.5347, allocations: 19.97 kB / 0.6757 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.5348, allocations: 4 kB / 0.6757 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.565e-05/0.5348, allocations: 91.27 kB / 0.6758 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.5348, allocations: 0 / 0.6758 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005808/0.5354, allocations: 139.7 kB / 0.676 GB, free: 15.72 MB / 0.5137 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.001779/0.5372, allocations: 1.137 MB / 0.6771 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000596/0.5378, allocations: 219.7 kB / 0.6773 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5378, allocations: 0 / 0.6773 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003993/0.5382, allocations: 228.4 kB / 0.6775 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.5386, allocations: 56.42 kB / 0.6775 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/0.5419, allocations: 2.147 MB / 0.6796 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.5422, allocations: 0.7047 MB / 0.6803 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002892/0.5425, allocations: 49.39 kB / 0.6804 GB, free: 11 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.5426, allocations: 43.42 kB / 0.6804 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of SimCode: time 5.61e-07/0.5426, allocations: 0 / 0.6804 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03918/0.5818, allocations: 8.193 MB / 0.6884 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.36, allocations: 11.38 kB / 0.6884 GB, free: 2.738 MB / 0.5137 GB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.263039068086073]