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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001442/0.001443, allocations: 117.7 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001789/0.001789, allocations: 203.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2004/0.2004, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 75.88 kB / 480.8 MB, free: 4.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3223, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1622/0.4845, allocations: 152.5 MB / 0.6794 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002083/0.4866, allocations: 1.596 MB / 0.6809 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.407e-05/0.4867, allocations: 0 / 0.6809 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003397/0.4871, allocations: 47.72 kB / 0.681 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.4883, allocations: 414 kB / 0.6814 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005311/0.4888, allocations: 170.5 kB / 0.6815 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002724/0.4891, allocations: 183.2 kB / 0.6817 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.112e-05/0.4891, allocations: 14.25 kB / 0.6817 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/0.4893, allocations: 83.62 kB / 0.6818 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.4895, allocations: 55.81 kB / 0.6819 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.4895, allocations: 8 kB / 0.6819 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.4907, allocations: 0.5924 MB / 0.6824 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.863e-05/0.4908, allocations: 31.91 kB / 0.6825 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.222e-05/0.4908, allocations: 55.78 kB / 0.6825 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007824/0.4916, allocations: 403 kB / 0.6829 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.4916, allocations: 0 / 0.6829 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4917, allocations: 0 / 0.6829 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.4917, allocations: 0 / 0.6829 GB, free: 5.129 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.0005749/0.4922, allocations: 431.4 kB / 0.6833 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.4923, allocations: 8.031 kB / 0.6833 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.464e-05/0.4923, allocations: 42.73 kB / 0.6834 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002237/0.4946, allocations: 200.6 kB / 0.6836 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.4948, allocations: 215.6 kB / 0.6838 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.4949, allocations: 4 kB / 0.6838 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.6e-05/0.4949, allocations: 8 kB / 0.6838 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004581/0.4954, allocations: 201.5 kB / 0.684 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.4954, allocations: 0 / 0.684 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.4954, allocations: 11.94 kB / 0.684 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.4955, allocations: 4 kB / 0.684 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005627/0.496, allocations: 235.8 kB / 0.6842 GB, free: 3.695 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.001651/0.4977, allocations: 0.6628 MB / 0.6849 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004023/0.4981, allocations: 190.5 kB / 0.685 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.4983, allocations: 96.75 kB / 0.6851 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001494/0.4985, allocations: 89.09 kB / 0.6852 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.4985, allocations: 34.56 kB / 0.6853 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.734e-06/0.4985, allocations: 3.938 kB / 0.6853 GB, free: 2.531 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.005534/0.504, allocations: 1.544 MB / 0.6868 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.5041, allocations: 55.41 kB / 0.6868 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.344e-05/0.5042, allocations: 109.8 kB / 0.6869 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.5042, allocations: 33.7 kB / 0.687 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.176e-05/0.5043, allocations: 92.27 kB / 0.687 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.518e-05/0.5044, allocations: 67.09 kB / 0.6871 GB, free: 500 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.823e-05/0.5045, allocations: 45.61 kB / 0.6871 GB, free: 448 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.5046, allocations: 326.8 kB / 0.6875 GB, free: 112 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.5048, allocations: 87.95 kB / 0.6875 GB, free: 24 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.505, allocations: 119.5 kB / 0.6877 GB, free: 15.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000442/0.5055, allocations: 228.4 kB / 0.6879 GB, free: 15.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5055, allocations: 0 / 0.6879 GB, free: 15.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006122/0.5061, allocations: 285.8 kB / 0.6881 GB, free: 15.37 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.5062, allocations: 7.984 kB / 0.6882 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.5062, allocations: 3.938 kB / 0.6882 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001313/0.5063, allocations: 28.94 kB / 0.6882 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004362/0.5067, allocations: 55.91 kB / 0.6882 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003235/0.5071, allocations: 0.5367 MB / 0.6888 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002816/0.5074, allocations: 12.02 kB / 0.6888 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.5074, allocations: 12.09 kB / 0.6888 GB, free: 14.69 MB / 0.545 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.0001251/0.5075, allocations: 125.8 kB / 0.6889 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.111e-05/0.5076, allocations: 11.91 kB / 0.6889 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007074/0.5083, allocations: 319.4 kB / 0.6892 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.5084, allocations: 4 kB / 0.6892 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5084, allocations: 3.938 kB / 0.6892 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.5084, allocations: 3.938 kB / 0.6892 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.5095, allocations: 0.6834 MB / 0.6899 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5095, allocations: 0 / 0.6899 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004454/0.5099, allocations: 51.89 kB / 0.69 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.178e-05/0.51, allocations: 20.84 kB / 0.69 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.51, allocations: 4 kB / 0.69 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009099/0.511, allocations: 1.365 MB / 0.6913 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.511, allocations: 0 / 0.6913 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008178/0.5118, allocations: 459.9 kB / 0.6917 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.184e-05/0.5119, allocations: 89.09 kB / 0.6918 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.5119, allocations: 12 kB / 0.6918 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/0.5122, allocations: 8 kB / 0.6919 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.5123, allocations: 15.97 kB / 0.6919 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.5123, allocations: 12 kB / 0.6919 GB, free: 11.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.421e-05/0.5124, allocations: 83.27 kB / 0.692 GB, free: 11.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5124, allocations: 0 / 0.692 GB, free: 11.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005572/0.5129, allocations: 131.9 kB / 0.6921 GB, free: 11.04 MB / 0.545 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.001637/0.5146, allocations: 1.143 MB / 0.6932 GB, free: 9.855 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005851/0.5152, allocations: 239.7 kB / 0.6934 GB, free: 9.621 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5152, allocations: 0 / 0.6934 GB, free: 9.621 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003923/0.5156, allocations: 238.5 kB / 0.6937 GB, free: 9.375 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.516, allocations: 44.34 kB / 0.6937 GB, free: 9.332 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/0.5189, allocations: 2.122 MB / 0.6958 GB, free: 7.094 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.5192, allocations: 0.7046 MB / 0.6965 GB, free: 6.363 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000273/0.5195, allocations: 53.77 kB / 0.6965 GB, free: 6.312 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.5196, allocations: 43.41 kB / 0.6966 GB, free: 6.27 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.5196, allocations: 4 kB / 0.6966 GB, free: 6.266 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/0.5489, allocations: 8.042 MB / 0.7044 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.1, allocations: 9.906 kB / 0.7044 GB, free: 14.33 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches