Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.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 3.2.3+maint.om/package.mo", uses=false) 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.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(Modelica.Media.Examples.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2",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.001311/0.001311, allocations: 106.5 kB / 17.73 MB, free: 5.367 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.001384/0.001384, allocations: 191 kB / 18.66 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002249, allocations: 56.39 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1071, allocations: 46.62 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3302/0.4374, allocations: 150.6 MB / 0.5129 GB, free: 8.934 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.4386, allocations: 0.9697 MB / 0.5139 GB, free: 7.965 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.139e-05/0.4387, allocations: 0 / 0.5139 GB, free: 7.965 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.439, allocations: 31.77 kB / 0.5139 GB, free: 7.934 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006613/0.4397, allocations: 246.7 kB / 0.5141 GB, free: 7.691 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.44, allocations: 124.1 kB / 0.5142 GB, free: 7.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.4403, allocations: 167.3 kB / 0.5144 GB, free: 7.406 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.206e-05/0.4403, allocations: 5.828 kB / 0.5144 GB, free: 7.402 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001971/0.4405, allocations: 87.62 kB / 0.5145 GB, free: 7.316 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.703e-05/0.4406, allocations: 55.77 kB / 0.5146 GB, free: 7.262 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.4407, allocations: 4 kB / 0.5146 GB, free: 7.258 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004982/0.4412, allocations: 267.7 kB / 0.5148 GB, free: 6.996 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.435e-05/0.4412, allocations: 19.97 kB / 0.5148 GB, free: 6.977 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.801e-05/0.4413, allocations: 43.8 kB / 0.5149 GB, free: 6.934 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004353/0.4417, allocations: 279.4 kB / 0.5151 GB, free: 6.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4417, allocations: 0 / 0.5151 GB, free: 6.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4418, allocations: 0 / 0.5151 GB, free: 6.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.4418, allocations: 7.875 kB / 0.5151 GB, free: 6.652 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004742/0.4422, allocations: 411.9 kB / 0.5155 GB, free: 6.203 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.4423, allocations: 12.03 kB / 0.5155 GB, free: 6.191 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.766e-05/0.4423, allocations: 42.67 kB / 0.5156 GB, free: 6.141 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001933/0.4443, allocations: 184.6 kB / 0.5158 GB, free: 5.961 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.4446, allocations: 204.2 kB / 0.516 GB, free: 5.723 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.4446, allocations: 11.94 kB / 0.516 GB, free: 5.711 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.809e-05/0.4447, allocations: 16 kB / 0.516 GB, free: 5.695 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000469/0.4451, allocations: 224 kB / 0.5162 GB, free: 5.461 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.4452, allocations: 0 / 0.5162 GB, free: 5.461 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/0.4452, allocations: 7.984 kB / 0.5162 GB, free: 5.453 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.4452, allocations: 4 kB / 0.5162 GB, free: 5.449 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004198/0.4456, allocations: 171.8 kB / 0.5164 GB, free: 5.281 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.0009802/0.4466, allocations: 0.5721 MB / 0.5169 GB, free: 4.652 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003131/0.447, allocations: 134.5 kB / 0.5171 GB, free: 4.512 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.4471, allocations: 80.81 kB / 0.5171 GB, free: 4.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.4471, allocations: 0 / 0.5171 GB, free: 4.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.4472, allocations: 42.48 kB / 0.5172 GB, free: 4.379 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 9.92e-07/0.4472, allocations: 0 / 0.5172 GB, free: 4.379 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.005024/0.4522, allocations: 1.298 MB / 0.5184 GB, free: 2.988 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.4522, allocations: 55.41 kB / 0.5185 GB, free: 2.922 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.891e-05/0.4523, allocations: 109.8 kB / 0.5186 GB, free: 2.805 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.4524, allocations: 33.69 kB / 0.5186 GB, free: 2.766 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.01e-05/0.4524, allocations: 95.89 kB / 0.5187 GB, free: 2.668 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.338e-05/0.4525, allocations: 67.09 kB / 0.5188 GB, free: 2.602 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.748e-05/0.4526, allocations: 49.7 kB / 0.5188 GB, free: 2.547 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.744e-05/0.4527, allocations: 326.8 kB / 0.5192 GB, free: 2.219 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.4529, allocations: 70.89 kB / 0.5192 GB, free: 2.152 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.453, allocations: 103.2 kB / 0.5193 GB, free: 2.039 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/0.4534, allocations: 187.3 kB / 0.5195 GB, free: 1.844 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.4534, allocations: 0 / 0.5195 GB, free: 1.844 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004738/0.4538, allocations: 266.1 kB / 0.5198 GB, free: 1.574 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.4539, allocations: 4 kB / 0.5198 GB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4539, allocations: 4 kB / 0.5198 GB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001679/0.4541, allocations: 44.92 kB / 0.5198 GB, free: 1.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003005/0.4544, allocations: 55.97 kB / 0.5199 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003839/0.4548, allocations: 0.5755 MB / 0.5204 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.4549, allocations: 4.031 kB / 0.5204 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/0.455, allocations: 29.55 kB / 0.5204 GB, free: 0.832 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.0001091/0.4551, allocations: 125.9 kB / 0.5206 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.616e-05/0.4552, allocations: 11.91 kB / 0.5206 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007082/0.4559, allocations: 331.8 kB / 0.5209 GB, free: 364 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.4559, allocations: 11.92 kB / 0.5209 GB, free: 352 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4559, allocations: 0 / 0.5209 GB, free: 352 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4559, allocations: 0 / 0.5209 GB, free: 352 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009506/0.4569, allocations: 0.6275 MB / 0.5215 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.4569, allocations: 10.42 kB / 0.5215 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003229/0.4572, allocations: 59.91 kB / 0.5216 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.222e-05/0.4573, allocations: 20.83 kB / 0.5216 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/0.4574, allocations: 12 kB / 0.5216 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008619/0.4582, allocations: 1.363 MB / 0.523 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4582, allocations: 4.031 kB / 0.523 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006623/0.4589, allocations: 438.4 kB / 0.5234 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-05/0.459, allocations: 97.09 kB / 0.5235 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.123e-05/0.459, allocations: 8 kB / 0.5235 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.4592, allocations: 8 kB / 0.5235 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.825e-05/0.4593, allocations: 23.97 kB / 0.5235 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.37e-05/0.4593, allocations: 24.86 kB / 0.5235 GB, free: 13.41 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.744e-05/0.4594, allocations: 91.58 kB / 0.5236 GB, free: 13.32 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4594, allocations: 0 / 0.5236 GB, free: 13.32 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003828/0.4598, allocations: 83.98 kB / 0.5237 GB, free: 13.24 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 (21): * Single equations (assignments): 20 * 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.001152/0.4609, allocations: 1.001 MB / 0.5247 GB, free: 12.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005144/0.4615, allocations: 208.1 kB / 0.5249 GB, free: 11.99 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.4615, allocations: 0 / 0.5249 GB, free: 11.99 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003284/0.4618, allocations: 222.4 kB / 0.5251 GB, free: 11.76 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.4623, allocations: 53.2 kB / 0.5251 GB, free: 11.71 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.4648, allocations: 2.06 MB / 0.5271 GB, free: 9.531 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.465, allocations: 0.7046 MB / 0.5278 GB, free: 8.801 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002972/0.4653, allocations: 85.38 kB / 0.5279 GB, free: 8.719 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.4655, allocations: 67.39 kB / 0.528 GB, free: 8.652 MB / 462.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4655, allocations: 0 / 0.528 GB, free: 8.652 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05564/0.5212, allocations: 7.383 MB / 0.5352 GB, free: 1.223 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.46, allocations: 7.984 kB / 0.5352 GB, free: 1.215 MB / 462.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches