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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 106.3 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2188/0.2188, allocations: 44.17 MB / 336.2 MB, free: 2.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 57.91 kB / 408 MB, free: 27.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1533, allocations: 60.84 MB / 468.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4845/0.6379, allocations: 147.5 MB / 0.6018 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.6399, allocations: 1.6 MB / 0.6034 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.904e-05/0.6399, allocations: 0 / 0.6034 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003144/0.6403, allocations: 42.17 kB / 0.6035 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008475/0.6412, allocations: 369.9 kB / 0.6038 GB, free: 11.69 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004459/0.6416, allocations: 155.6 kB / 0.604 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.6419, allocations: 179.3 kB / 0.6041 GB, free: 11.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.918e-05/0.6419, allocations: 18.11 kB / 0.6041 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.6421, allocations: 75.77 kB / 0.6042 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.6422, allocations: 59.81 kB / 0.6043 GB, free: 11.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.6422, allocations: 4 kB / 0.6043 GB, free: 11.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009338/0.6431, allocations: 0.6236 MB / 0.6049 GB, free: 10.58 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.679e-05/0.6432, allocations: 31.84 kB / 0.6049 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.388e-05/0.6433, allocations: 51.78 kB / 0.605 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005607/0.6439, allocations: 442.9 kB / 0.6054 GB, free: 10.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.6439, allocations: 0 / 0.6054 GB, free: 10.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.6439, allocations: 0 / 0.6054 GB, free: 10.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.6439, allocations: 3.938 kB / 0.6054 GB, free: 10.06 MB / 446.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.0005085/0.6444, allocations: 432.2 kB / 0.6058 GB, free: 9.594 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.6445, allocations: 12.03 kB / 0.6058 GB, free: 9.582 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.191e-05/0.6445, allocations: 38.75 kB / 0.6058 GB, free: 9.535 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002192/0.6467, allocations: 192.6 kB / 0.606 GB, free: 9.348 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.647, allocations: 211.9 kB / 0.6062 GB, free: 9.102 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.647, allocations: 11.98 kB / 0.6062 GB, free: 9.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.166e-05/0.647, allocations: 7.938 kB / 0.6063 GB, free: 9.082 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004842/0.6475, allocations: 201.5 kB / 0.6064 GB, free: 8.879 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.6476, allocations: 7.938 kB / 0.6065 GB, free: 8.871 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.6476, allocations: 0 / 0.6065 GB, free: 8.871 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.6476, allocations: 3.938 kB / 0.6065 GB, free: 8.867 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005771/0.6482, allocations: 235.8 kB / 0.6067 GB, free: 8.637 MB / 446.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.001656/0.6498, allocations: 0.6645 MB / 0.6073 GB, free: 7.914 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004253/0.6503, allocations: 190.4 kB / 0.6075 GB, free: 7.719 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.6505, allocations: 88.83 kB / 0.6076 GB, free: 7.629 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.6507, allocations: 89.09 kB / 0.6077 GB, free: 7.523 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.6507, allocations: 42.56 kB / 0.6077 GB, free: 7.473 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.6507, allocations: 4 kB / 0.6077 GB, free: 7.469 MB / 446.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.005651/0.6564, allocations: 1.532 MB / 0.6092 GB, free: 5.828 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.6564, allocations: 55.41 kB / 0.6093 GB, free: 5.762 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.892e-05/0.6565, allocations: 109.8 kB / 0.6094 GB, free: 5.645 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.6566, allocations: 29.7 kB / 0.6094 GB, free: 5.609 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.92e-05/0.6566, allocations: 100.3 kB / 0.6095 GB, free: 5.508 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.415e-05/0.6567, allocations: 71.02 kB / 0.6096 GB, free: 5.438 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.6568, allocations: 37.7 kB / 0.6096 GB, free: 5.395 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.6569, allocations: 326.8 kB / 0.6099 GB, free: 5.066 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.6571, allocations: 91.89 kB / 0.61 GB, free: 4.977 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.6574, allocations: 132.9 kB / 0.6101 GB, free: 4.836 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004638/0.6579, allocations: 225 kB / 0.6103 GB, free: 4.605 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-06/0.6579, allocations: 0 / 0.6103 GB, free: 4.605 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006313/0.6585, allocations: 292 kB / 0.6106 GB, free: 4.312 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.6585, allocations: 4 kB / 0.6106 GB, free: 4.309 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.6585, allocations: 4 kB / 0.6106 GB, free: 4.305 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001225/0.6587, allocations: 20.84 kB / 0.6107 GB, free: 4.281 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000462/0.6591, allocations: 59.89 kB / 0.6107 GB, free: 4.223 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000359/0.6595, allocations: 0.5291 MB / 0.6112 GB, free: 3.668 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/0.6598, allocations: 19.95 kB / 0.6112 GB, free: 3.648 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/0.6599, allocations: 7.938 kB / 0.6113 GB, free: 3.645 MB / 446.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.0001317/0.66, allocations: 125.8 kB / 0.6114 GB, free: 3.512 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.014e-05/0.6601, allocations: 11.89 kB / 0.6114 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007642/0.6609, allocations: 318.2 kB / 0.6117 GB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.6609, allocations: 3.938 kB / 0.6117 GB, free: 3.176 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6609, allocations: 0 / 0.6117 GB, free: 3.176 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.6609, allocations: 11.98 kB / 0.6117 GB, free: 3.164 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.662, allocations: 0.67 MB / 0.6124 GB, free: 2.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.662, allocations: 0 / 0.6124 GB, free: 2.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004538/0.6625, allocations: 47.95 kB / 0.6124 GB, free: 2.383 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.337e-05/0.6625, allocations: 32.88 kB / 0.6124 GB, free: 2.348 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.6626, allocations: 7.984 kB / 0.6124 GB, free: 2.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009733/0.6636, allocations: 1.363 MB / 0.6138 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.6636, allocations: 3.938 kB / 0.6138 GB, free: 0.832 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008457/0.6644, allocations: 454.7 kB / 0.6142 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.133e-05/0.6645, allocations: 85.02 kB / 0.6143 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/0.6645, allocations: 0 / 0.6143 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003534/0.6649, allocations: 15.98 kB / 0.6143 GB, free: 248 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/0.6649, allocations: 19.98 kB / 0.6143 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/0.665, allocations: 11.98 kB / 0.6143 GB, free: 216 kB / 446.1 MB Notification: Performance of sorting global known variables: time 4.839e-05/0.665, allocations: 91.22 kB / 0.6144 GB, free: 124 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.665, allocations: 0 / 0.6144 GB, free: 124 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005651/0.6656, allocations: 135.9 kB / 0.6146 GB, free: 15.98 MB / 462.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.001772/0.6674, allocations: 1.139 MB / 0.6157 GB, free: 14.82 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006311/0.668, allocations: 239.8 kB / 0.6159 GB, free: 14.58 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.6681, allocations: 4 kB / 0.6159 GB, free: 14.58 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004208/0.6685, allocations: 226.6 kB / 0.6161 GB, free: 14.34 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.6689, allocations: 55.58 kB / 0.6162 GB, free: 14.29 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003395/0.6724, allocations: 2.171 MB / 0.6183 GB, free: 12 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.6727, allocations: 0.7085 MB / 0.619 GB, free: 11.27 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000411/0.6731, allocations: 53.33 kB / 0.619 GB, free: 11.21 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.6733, allocations: 39.42 kB / 0.6191 GB, free: 11.18 MB / 462.1 MB Notification: Performance of SimCode: time 2.11e-07/0.6733, allocations: 0 / 0.6191 GB, free: 11.18 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.702, allocations: 7.816 MB / 0.6267 GB, free: 3.52 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002818/0.7023, allocations: 234.8 kB / 0.6269 GB, free: 3.262 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.962/2.665, allocations: 4 kB / 0.6269 GB, free: 3.258 MB / 462.1 MB (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 --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) 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) Reference file matches