Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000881/0.0008809, allocations: 175.4 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.212/1.212, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007136/0.0007136, allocations: 93.39 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2836/0.2836, allocations: 43.56 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003351, allocations: 12 kB / 432.1 MB, free: 5.719 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09865/0.099, allocations: 58.84 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3068/0.4058, allocations: 136.8 MB / 0.613 GB, free: 13.96 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.4075, allocations: 1.378 MB / 0.6144 GB, free: 12.59 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.551e-05/0.4076, allocations: 3.656 kB / 0.6144 GB, free: 12.59 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.4079, allocations: 49.61 kB / 0.6144 GB, free: 12.55 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000847/0.4088, allocations: 335.2 kB / 0.6148 GB, free: 12.22 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004192/0.4092, allocations: 139.5 kB / 0.6149 GB, free: 12.09 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002564/0.4095, allocations: 211.2 kB / 0.6151 GB, free: 11.88 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.404e-05/0.4095, allocations: 14.91 kB / 0.6151 GB, free: 11.87 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.4097, allocations: 67.77 kB / 0.6152 GB, free: 11.8 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.4098, allocations: 59.75 kB / 0.6152 GB, free: 11.74 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.4099, allocations: 4 kB / 0.6152 GB, free: 11.74 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.411, allocations: 0.6665 MB / 0.6159 GB, free: 11.07 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.386e-05/0.4111, allocations: 39.88 kB / 0.6159 GB, free: 11.03 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.362e-05/0.4112, allocations: 65.5 kB / 0.616 GB, free: 10.96 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004227/0.4116, allocations: 285.4 kB / 0.6163 GB, free: 10.68 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4116, allocations: 0 / 0.6163 GB, free: 10.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4116, allocations: 4 kB / 0.6163 GB, free: 10.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.4116, allocations: 0 / 0.6163 GB, free: 10.68 MB / 442.7 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.0004805/0.4121, allocations: 408.3 kB / 0.6166 GB, free: 10.24 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.4121, allocations: 8.031 kB / 0.6167 GB, free: 10.23 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.275e-05/0.4122, allocations: 46.73 kB / 0.6167 GB, free: 10.18 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/0.4143, allocations: 185.8 kB / 0.6169 GB, free: 9.996 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.4145, allocations: 212.4 kB / 0.6171 GB, free: 9.75 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.4145, allocations: 7.938 kB / 0.6171 GB, free: 9.742 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.946e-05/0.4146, allocations: 11.98 kB / 0.6171 GB, free: 9.73 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004543/0.415, allocations: 201.5 kB / 0.6173 GB, free: 9.531 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.4151, allocations: 0.5 kB / 0.6173 GB, free: 9.531 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.4151, allocations: 4 kB / 0.6173 GB, free: 9.527 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.4151, allocations: 4 kB / 0.6173 GB, free: 9.523 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005477/0.4157, allocations: 247.8 kB / 0.6175 GB, free: 9.281 MB / 442.7 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.001679/0.4174, allocations: 0.6585 MB / 0.6182 GB, free: 8.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004304/0.4178, allocations: 183.2 kB / 0.6184 GB, free: 8.402 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.418, allocations: 96.81 kB / 0.6184 GB, free: 8.305 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001618/0.4182, allocations: 97.08 kB / 0.6185 GB, free: 8.191 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.4182, allocations: 34.55 kB / 0.6186 GB, free: 8.148 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 2.605e-06/0.4182, allocations: 0 / 0.6186 GB, free: 8.148 MB / 442.7 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.005384/0.4236, allocations: 1.55 MB / 0.6201 GB, free: 6.496 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.4237, allocations: 55.34 kB / 0.6201 GB, free: 6.43 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.466e-05/0.4238, allocations: 109.8 kB / 0.6202 GB, free: 6.312 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.235e-05/0.4238, allocations: 33.7 kB / 0.6203 GB, free: 6.273 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.262e-05/0.4239, allocations: 100.2 kB / 0.6204 GB, free: 6.172 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.396e-05/0.4239, allocations: 71 kB / 0.6204 GB, free: 6.102 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.943e-05/0.424, allocations: 0 / 0.6204 GB, free: 6.102 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.4241, allocations: 326.8 kB / 0.6207 GB, free: 5.773 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.4243, allocations: 87.95 kB / 0.6208 GB, free: 5.688 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.4245, allocations: 124.8 kB / 0.621 GB, free: 5.555 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004419/0.425, allocations: 219.3 kB / 0.6212 GB, free: 5.328 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.425, allocations: 3.938 kB / 0.6212 GB, free: 5.324 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005861/0.4256, allocations: 286.2 kB / 0.6214 GB, free: 5.035 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.4256, allocations: 5.219 kB / 0.6214 GB, free: 5.031 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4256, allocations: 0 / 0.6214 GB, free: 5.031 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001483/0.4258, allocations: 28.78 kB / 0.6215 GB, free: 5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004259/0.4262, allocations: 47.97 kB / 0.6215 GB, free: 4.953 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003566/0.4266, allocations: 0.5407 MB / 0.622 GB, free: 4.387 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/0.4269, allocations: 16.02 kB / 0.6221 GB, free: 4.371 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/0.4269, allocations: 4 kB / 0.6221 GB, free: 4.367 MB / 442.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000123/0.427, allocations: 125.8 kB / 0.6222 GB, free: 4.234 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.937e-05/0.4271, allocations: 7.906 kB / 0.6222 GB, free: 4.227 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00074/0.4279, allocations: 325.3 kB / 0.6225 GB, free: 3.902 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4279, allocations: 0 / 0.6225 GB, free: 3.902 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4279, allocations: 3.938 kB / 0.6225 GB, free: 3.898 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.4279, allocations: 7.984 kB / 0.6225 GB, free: 3.891 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.429, allocations: 0.6718 MB / 0.6232 GB, free: 3.156 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.429, allocations: 0 / 0.6232 GB, free: 3.156 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004261/0.4294, allocations: 55.98 kB / 0.6232 GB, free: 3.102 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.76e-05/0.4295, allocations: 20.84 kB / 0.6232 GB, free: 3.078 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.4295, allocations: 7.125 kB / 0.6232 GB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008234/0.4304, allocations: 1.272 MB / 0.6245 GB, free: 1.668 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4304, allocations: 4.031 kB / 0.6245 GB, free: 1.664 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007966/0.4312, allocations: 454.6 kB / 0.6249 GB, free: 1.191 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.248e-05/0.4313, allocations: 92.97 kB / 0.625 GB, free: 1.082 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.4313, allocations: 11.94 kB / 0.625 GB, free: 1.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003168/0.4316, allocations: 4 kB / 0.625 GB, free: 1.066 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.4317, allocations: 19.97 kB / 0.6251 GB, free: 1.047 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.4317, allocations: 8 kB / 0.6251 GB, free: 1.039 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.456e-05/0.4317, allocations: 91.64 kB / 0.6251 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4318, allocations: 0 / 0.6251 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004918/0.4323, allocations: 135.9 kB / 0.6253 GB, free: 0.8164 MB / 442.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001599/0.4339, allocations: 1.125 MB / 0.6264 GB, free: 15.65 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005818/0.4344, allocations: 231.4 kB / 0.6266 GB, free: 15.43 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4345, allocations: 0 / 0.6266 GB, free: 15.43 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003753/0.4348, allocations: 230.8 kB / 0.6268 GB, free: 15.19 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.4353, allocations: 44.58 kB / 0.6269 GB, free: 15.15 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.4372, allocations: 1.204 MB / 0.628 GB, free: 13.88 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.4374, allocations: 0.7049 MB / 0.6287 GB, free: 13.14 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.4376, allocations: 51.41 kB / 0.6288 GB, free: 13.1 MB / 458.7 MB Notification: Performance of SimCode: time 3.4e-07/0.4376, allocations: 0 / 0.6288 GB, free: 13.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.506/3.944, allocations: 4.806 MB / 0.6335 GB, free: 8.289 MB / 458.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches