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.001574/0.001574, allocations: 104.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002068/0.002068, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2555/0.2555, allocations: 46.11 MB / 343.6 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 72.52 kB / 416.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1385, allocations: 62.45 MB / 479.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4307/0.5693, allocations: 150.2 MB / 0.6149 GB, free: 13.58 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.5714, allocations: 1.645 MB / 0.6165 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.437e-05/0.5715, allocations: 4 kB / 0.6165 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003375/0.5719, allocations: 39.81 kB / 0.6165 GB, free: 11.91 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009877/0.5729, allocations: 369.9 kB / 0.6169 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.5734, allocations: 143.6 kB / 0.617 GB, free: 11.41 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002968/0.5737, allocations: 247.1 kB / 0.6172 GB, free: 11.17 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.13e-05/0.5738, allocations: 18.17 kB / 0.6173 GB, free: 11.15 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.5739, allocations: 75.72 kB / 0.6173 GB, free: 11.08 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.5741, allocations: 63.73 kB / 0.6174 GB, free: 11.02 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.5741, allocations: 4 kB / 0.6174 GB, free: 11.01 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.5754, allocations: 0.7094 MB / 0.6181 GB, free: 10.3 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.89e-05/0.5754, allocations: 27.89 kB / 0.6181 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.395e-05/0.5755, allocations: 53.52 kB / 0.6182 GB, free: 10.22 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007416/0.5763, allocations: 443 kB / 0.6186 GB, free: 9.789 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.5763, allocations: 0 / 0.6186 GB, free: 9.789 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.018e-06/0.5763, allocations: 0 / 0.6186 GB, free: 9.789 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.5763, allocations: 7.938 kB / 0.6186 GB, free: 9.781 MB / 462.1 MB 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.0005915/0.5769, allocations: 432.1 kB / 0.619 GB, free: 9.312 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.5769, allocations: 8.875 kB / 0.619 GB, free: 9.305 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.481e-05/0.577, allocations: 46.69 kB / 0.6191 GB, free: 9.25 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002201/0.5792, allocations: 192.6 kB / 0.6192 GB, free: 9.062 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.5795, allocations: 215.9 kB / 0.6194 GB, free: 8.812 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.5795, allocations: 4 kB / 0.6194 GB, free: 8.809 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.5795, allocations: 8 kB / 0.6195 GB, free: 8.801 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004908/0.58, allocations: 208.8 kB / 0.6197 GB, free: 8.594 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.58, allocations: 0 / 0.6197 GB, free: 8.594 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.5801, allocations: 4 kB / 0.6197 GB, free: 8.59 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.5801, allocations: 3.938 kB / 0.6197 GB, free: 8.586 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006142/0.5807, allocations: 239.8 kB / 0.6199 GB, free: 8.352 MB / 462.1 MB 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.001719/0.5825, allocations: 0.6651 MB / 0.6205 GB, free: 7.633 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004364/0.5829, allocations: 190.4 kB / 0.6207 GB, free: 7.438 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/0.5831, allocations: 96.81 kB / 0.6208 GB, free: 7.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000159/0.5833, allocations: 89.09 kB / 0.6209 GB, free: 7.234 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.5833, allocations: 34.56 kB / 0.6209 GB, free: 7.191 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.883e-06/0.5833, allocations: 0 / 0.6209 GB, free: 7.191 MB / 462.1 MB 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.005752/0.5891, allocations: 1.541 MB / 0.6224 GB, free: 5.543 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.5891, allocations: 51.41 kB / 0.6225 GB, free: 5.48 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.839e-05/0.5893, allocations: 109.8 kB / 0.6226 GB, free: 5.363 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.5893, allocations: 33.7 kB / 0.6226 GB, free: 5.324 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.397e-05/0.5894, allocations: 96.33 kB / 0.6227 GB, free: 5.227 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.966e-05/0.5894, allocations: 67.03 kB / 0.6228 GB, free: 5.16 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.5896, allocations: 41.7 kB / 0.6228 GB, free: 5.113 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.5897, allocations: 318.8 kB / 0.6231 GB, free: 4.793 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.5899, allocations: 87.95 kB / 0.6232 GB, free: 4.707 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.5902, allocations: 135.3 kB / 0.6233 GB, free: 4.562 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004647/0.5907, allocations: 222.8 kB / 0.6235 GB, free: 4.336 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.5907, allocations: 0 / 0.6235 GB, free: 4.336 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006681/0.5913, allocations: 294.1 kB / 0.6238 GB, free: 4.039 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.5914, allocations: 8 kB / 0.6238 GB, free: 4.031 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.5914, allocations: 0 / 0.6238 GB, free: 4.031 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001502/0.5915, allocations: 20.84 kB / 0.6239 GB, free: 4.008 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004795/0.592, allocations: 59.89 kB / 0.6239 GB, free: 3.949 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004236/0.5925, allocations: 0.533 MB / 0.6244 GB, free: 3.391 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.5928, allocations: 15.86 kB / 0.6244 GB, free: 3.375 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.895e-05/0.5928, allocations: 14.19 kB / 0.6245 GB, free: 3.363 MB / 462.1 MB 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.0001397/0.593, allocations: 121.8 kB / 0.6246 GB, free: 3.234 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.736e-05/0.5931, allocations: 16 kB / 0.6246 GB, free: 3.219 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007775/0.5938, allocations: 313.3 kB / 0.6249 GB, free: 2.902 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.5939, allocations: 7.938 kB / 0.6249 GB, free: 2.895 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.5939, allocations: 4 kB / 0.6249 GB, free: 2.891 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.5939, allocations: 3.984 kB / 0.6249 GB, free: 2.887 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.595, allocations: 0.6718 MB / 0.6256 GB, free: 2.148 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.5951, allocations: 4 kB / 0.6256 GB, free: 2.145 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004514/0.5955, allocations: 52.05 kB / 0.6256 GB, free: 2.094 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.08e-05/0.5956, allocations: 20.84 kB / 0.6256 GB, free: 2.07 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/0.5956, allocations: 8 kB / 0.6256 GB, free: 2.062 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000976/0.5966, allocations: 1.266 MB / 0.6269 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.5966, allocations: 3.938 kB / 0.6269 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008755/0.5975, allocations: 449.3 kB / 0.6273 GB, free: 200 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-05/0.5976, allocations: 89.03 kB / 0.6274 GB, free: 92 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.014e-05/0.5976, allocations: 7.938 kB / 0.6274 GB, free: 84 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.598, allocations: 13.19 kB / 0.6274 GB, free: 72 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.598, allocations: 15.97 kB / 0.6274 GB, free: 56 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.304e-05/0.5981, allocations: 12.06 kB / 0.6274 GB, free: 44 kB / 462.1 MB Notification: Performance of sorting global known variables: time 7.228e-05/0.5981, allocations: 91.2 kB / 0.6275 GB, free: 15.95 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5981, allocations: 0 / 0.6275 GB, free: 15.95 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006014/0.5988, allocations: 139.9 kB / 0.6277 GB, free: 15.82 MB / 478.1 MB 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.001994/0.6008, allocations: 1.129 MB / 0.6288 GB, free: 14.65 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006516/0.6014, allocations: 238.6 kB / 0.629 GB, free: 14.42 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6014, allocations: 0 / 0.629 GB, free: 14.42 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004095/0.6019, allocations: 234.7 kB / 0.6292 GB, free: 14.18 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.6023, allocations: 47.91 kB / 0.6293 GB, free: 14.13 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00314/0.6055, allocations: 2.173 MB / 0.6314 GB, free: 11.84 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.6057, allocations: 0.7049 MB / 0.6321 GB, free: 11.11 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004193/0.6062, allocations: 54.08 kB / 0.6321 GB, free: 11.05 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.6063, allocations: 43.41 kB / 0.6322 GB, free: 11.01 MB / 478.1 MB Notification: Performance of SimCode: time 8.31e-07/0.6064, allocations: 0 / 0.6322 GB, free: 11.01 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/0.6279, allocations: 7.665 MB / 0.6397 GB, free: 3.469 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/0.6282, allocations: 226.7 kB / 0.6399 GB, free: 3.211 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.999/2.628, allocations: 4 kB / 0.6399 GB, free: 3.207 MB / 478.1 MB (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