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.001173/0.001173, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001295/0.001295, allocations: 194 kB / 18.12 MB, free: 5.383 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.385/1.385, allocations: 222.9 MB / 241.8 MB, free: 15.45 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.2333/0.2333, allocations: 44.17 MB / 336.1 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 65.3 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1475, allocations: 60.82 MB / 468.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4681/0.6157, allocations: 147.4 MB / 0.6015 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.6179, allocations: 1.641 MB / 0.6031 GB, free: 12.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.42e-05/0.618, allocations: 4 kB / 0.6031 GB, free: 12.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003686/0.6184, allocations: 50.53 kB / 0.6032 GB, free: 12.24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001092/0.6196, allocations: 361.8 kB / 0.6035 GB, free: 11.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004987/0.6201, allocations: 149.2 kB / 0.6037 GB, free: 11.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003219/0.6204, allocations: 247.2 kB / 0.6039 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.676e-05/0.6205, allocations: 18.11 kB / 0.6039 GB, free: 11.49 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.6207, allocations: 67.78 kB / 0.604 GB, free: 11.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.6209, allocations: 63.73 kB / 0.6041 GB, free: 11.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.6209, allocations: 4 kB / 0.6041 GB, free: 11.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.6222, allocations: 0.7054 MB / 0.6048 GB, free: 10.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.684e-05/0.6223, allocations: 27.89 kB / 0.6048 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.985e-05/0.6224, allocations: 47.8 kB / 0.6048 GB, free: 10.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008942/0.6233, allocations: 450.8 kB / 0.6053 GB, free: 10.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.6233, allocations: 0 / 0.6053 GB, free: 10.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.6233, allocations: 4 kB / 0.6053 GB, free: 10.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.6233, allocations: 0 / 0.6053 GB, free: 10.13 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.0006453/0.624, allocations: 424.2 kB / 0.6057 GB, free: 9.668 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.624, allocations: 12.03 kB / 0.6057 GB, free: 9.656 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.562e-05/0.6241, allocations: 42.73 kB / 0.6057 GB, free: 9.605 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002328/0.6264, allocations: 192.6 kB / 0.6059 GB, free: 9.418 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.6267, allocations: 215.9 kB / 0.6061 GB, free: 9.168 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.6268, allocations: 8 kB / 0.6061 GB, free: 9.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.655e-05/0.6268, allocations: 12 kB / 0.6061 GB, free: 9.148 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005131/0.6273, allocations: 195 kB / 0.6063 GB, free: 8.953 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.6274, allocations: 3.938 kB / 0.6063 GB, free: 8.949 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/0.6274, allocations: 4.875 kB / 0.6063 GB, free: 8.945 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.6274, allocations: 7.938 kB / 0.6063 GB, free: 8.938 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006219/0.628, allocations: 239.8 kB / 0.6066 GB, free: 8.703 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.001828/0.6299, allocations: 0.665 MB / 0.6072 GB, free: 7.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000449/0.6303, allocations: 186.5 kB / 0.6074 GB, free: 7.789 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.6306, allocations: 96.81 kB / 0.6075 GB, free: 7.691 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001708/0.6308, allocations: 97.03 kB / 0.6076 GB, free: 7.578 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.6308, allocations: 35.81 kB / 0.6076 GB, free: 7.535 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.6308, allocations: 0 / 0.6076 GB, free: 7.535 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.005998/0.6368, allocations: 1.536 MB / 0.6091 GB, free: 5.891 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.6369, allocations: 51.41 kB / 0.6091 GB, free: 5.828 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.408e-05/0.637, allocations: 117.8 kB / 0.6093 GB, free: 5.703 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.637, allocations: 29.64 kB / 0.6093 GB, free: 5.668 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.6371, allocations: 100.3 kB / 0.6094 GB, free: 5.566 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.565e-05/0.6372, allocations: 63.05 kB / 0.6094 GB, free: 5.504 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.6373, allocations: 49.69 kB / 0.6095 GB, free: 5.449 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.6374, allocations: 314.8 kB / 0.6098 GB, free: 5.133 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.6377, allocations: 95.88 kB / 0.6099 GB, free: 5.039 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/0.6379, allocations: 123.4 kB / 0.61 GB, free: 4.906 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004741/0.6384, allocations: 226.8 kB / 0.6102 GB, free: 4.676 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6384, allocations: 0 / 0.6102 GB, free: 4.676 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006442/0.6391, allocations: 290.1 kB / 0.6105 GB, free: 4.383 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.6391, allocations: 8 kB / 0.6105 GB, free: 4.375 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.6391, allocations: 0 / 0.6105 GB, free: 4.375 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001335/0.6392, allocations: 24.84 kB / 0.6105 GB, free: 4.348 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004644/0.6397, allocations: 55.89 kB / 0.6106 GB, free: 4.293 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003706/0.6401, allocations: 0.5369 MB / 0.6111 GB, free: 3.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/0.6404, allocations: 11.94 kB / 0.6111 GB, free: 3.719 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.6405, allocations: 8.875 kB / 0.6111 GB, free: 3.711 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.0001405/0.6406, allocations: 125.8 kB / 0.6112 GB, free: 3.578 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.673e-05/0.6407, allocations: 16 kB / 0.6113 GB, free: 3.562 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008254/0.6415, allocations: 305.6 kB / 0.6116 GB, free: 3.254 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.6415, allocations: 7.938 kB / 0.6116 GB, free: 3.246 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.6416, allocations: 4 kB / 0.6116 GB, free: 3.242 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.6416, allocations: 3.938 kB / 0.6116 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.6427, allocations: 0.6638 MB / 0.6122 GB, free: 2.508 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.6427, allocations: 5.562 kB / 0.6122 GB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004624/0.6432, allocations: 59.98 kB / 0.6123 GB, free: 2.445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.179e-05/0.6433, allocations: 16.84 kB / 0.6123 GB, free: 2.426 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.6433, allocations: 11.98 kB / 0.6123 GB, free: 2.414 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008892/0.6442, allocations: 1.276 MB / 0.6136 GB, free: 1.004 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.6443, allocations: 3.938 kB / 0.6136 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000912/0.6452, allocations: 454.6 kB / 0.614 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.696e-05/0.6452, allocations: 85.05 kB / 0.6141 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.6453, allocations: 3.938 kB / 0.6141 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003363/0.6456, allocations: 15.98 kB / 0.6141 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.6457, allocations: 16.05 kB / 0.6141 GB, free: 400 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.303e-05/0.6457, allocations: 11.98 kB / 0.6141 GB, free: 388 kB / 446.1 MB Notification: Performance of sorting global known variables: time 6.266e-05/0.6458, allocations: 91.53 kB / 0.6142 GB, free: 296 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6458, allocations: 3.938 kB / 0.6142 GB, free: 292 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005885/0.6464, allocations: 135.9 kB / 0.6143 GB, free: 156 kB / 446.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.001779/0.6482, allocations: 1.14 MB / 0.6154 GB, free: 14.98 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006538/0.6488, allocations: 226.3 kB / 0.6157 GB, free: 14.76 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6488, allocations: 4 kB / 0.6157 GB, free: 14.76 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004074/0.6493, allocations: 240.7 kB / 0.6159 GB, free: 14.51 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004909/0.6498, allocations: 43.89 kB / 0.6159 GB, free: 14.47 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/0.653, allocations: 2.165 MB / 0.6181 GB, free: 12.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.6533, allocations: 0.7049 MB / 0.6187 GB, free: 11.45 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004397/0.6538, allocations: 53.53 kB / 0.6188 GB, free: 11.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.654, allocations: 43.41 kB / 0.6188 GB, free: 11.36 MB / 462.1 MB Notification: Performance of SimCode: time 5.31e-07/0.654, allocations: 0 / 0.6188 GB, free: 11.36 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/0.6764, allocations: 7.652 MB / 0.6263 GB, free: 3.836 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/0.6766, allocations: 230.9 kB / 0.6265 GB, free: 3.578 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.95/2.627, allocations: 0 / 0.6265 GB, free: 3.578 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