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.001029/0.001029, allocations: 104 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001294, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2198/0.2198, allocations: 46.09 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 79.09 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.125, allocations: 62.44 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4094/0.5345, allocations: 152.4 MB / 0.6177 GB, free: 11.01 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.5364, allocations: 1.595 MB / 0.6193 GB, free: 9.422 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.755e-05/0.5365, allocations: 4 kB / 0.6193 GB, free: 9.418 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003347/0.5369, allocations: 54.53 kB / 0.6194 GB, free: 9.367 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009996/0.5379, allocations: 402.6 kB / 0.6197 GB, free: 8.973 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004797/0.5384, allocations: 171.4 kB / 0.6199 GB, free: 8.805 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002235/0.5386, allocations: 183.3 kB / 0.6201 GB, free: 8.625 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.578e-05/0.5387, allocations: 14.33 kB / 0.6201 GB, free: 8.613 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.5389, allocations: 75.7 kB / 0.6202 GB, free: 8.539 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.539, allocations: 63.75 kB / 0.6202 GB, free: 8.477 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.539, allocations: 7.656 kB / 0.6202 GB, free: 8.473 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.5401, allocations: 0.5925 MB / 0.6208 GB, free: 7.879 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.945e-05/0.5402, allocations: 35.88 kB / 0.6208 GB, free: 7.844 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.258e-05/0.5403, allocations: 47.81 kB / 0.6209 GB, free: 7.797 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006267/0.5409, allocations: 403 kB / 0.6213 GB, free: 7.402 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.5409, allocations: 0 / 0.6213 GB, free: 7.402 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5409, allocations: 0 / 0.6213 GB, free: 7.402 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.5409, allocations: 4 kB / 0.6213 GB, free: 7.398 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.0005638/0.5415, allocations: 428.1 kB / 0.6217 GB, free: 6.934 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.5416, allocations: 11.97 kB / 0.6217 GB, free: 6.922 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.409e-05/0.5416, allocations: 42.75 kB / 0.6217 GB, free: 6.871 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002303/0.5439, allocations: 192.6 kB / 0.6219 GB, free: 6.684 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.5441, allocations: 219.9 kB / 0.6221 GB, free: 6.43 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.5442, allocations: 8 kB / 0.6221 GB, free: 6.422 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.108e-05/0.5442, allocations: 8 kB / 0.6221 GB, free: 6.414 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004351/0.5447, allocations: 208.8 kB / 0.6223 GB, free: 6.207 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.5447, allocations: 0 / 0.6223 GB, free: 6.207 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/0.5447, allocations: 4 kB / 0.6224 GB, free: 6.203 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.5447, allocations: 7.938 kB / 0.6224 GB, free: 6.195 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005514/0.5453, allocations: 231.8 kB / 0.6226 GB, free: 5.969 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.001735/0.547, allocations: 0.6647 MB / 0.6232 GB, free: 5.25 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004255/0.5475, allocations: 186.4 kB / 0.6234 GB, free: 5.059 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.5477, allocations: 104.2 kB / 0.6235 GB, free: 4.957 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000148/0.5478, allocations: 89.09 kB / 0.6236 GB, free: 4.852 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.5479, allocations: 34.56 kB / 0.6236 GB, free: 4.809 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.5479, allocations: 0 / 0.6236 GB, free: 4.809 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.005737/0.5536, allocations: 1.539 MB / 0.6251 GB, free: 3.16 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.5537, allocations: 59.41 kB / 0.6252 GB, free: 3.09 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.86e-05/0.5537, allocations: 105.8 kB / 0.6253 GB, free: 2.977 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.5538, allocations: 33.7 kB / 0.6253 GB, free: 2.938 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.799e-05/0.5538, allocations: 92.27 kB / 0.6254 GB, free: 2.844 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.127e-05/0.5539, allocations: 75.02 kB / 0.6255 GB, free: 2.77 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9e-05/0.554, allocations: 41.7 kB / 0.6255 GB, free: 2.723 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.294e-05/0.5541, allocations: 322.8 kB / 0.6258 GB, free: 2.398 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.5543, allocations: 91.95 kB / 0.6259 GB, free: 2.309 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.5546, allocations: 123.3 kB / 0.626 GB, free: 2.176 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004484/0.555, allocations: 234.8 kB / 0.6263 GB, free: 1.938 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.555, allocations: 0 / 0.6263 GB, free: 1.938 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006064/0.5556, allocations: 290.1 kB / 0.6265 GB, free: 1.645 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.5557, allocations: 6.5 kB / 0.6265 GB, free: 1.641 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5557, allocations: 0 / 0.6265 GB, free: 1.641 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001237/0.5558, allocations: 24.94 kB / 0.6266 GB, free: 1.613 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004802/0.5563, allocations: 63.89 kB / 0.6266 GB, free: 1.551 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003155/0.5566, allocations: 0.5251 MB / 0.6271 GB, free: 1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/0.5569, allocations: 15.95 kB / 0.6271 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.557, allocations: 12 kB / 0.6272 GB, free: 0.9727 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.0001231/0.5571, allocations: 125.9 kB / 0.6273 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.024e-05/0.5572, allocations: 15.89 kB / 0.6273 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007453/0.5579, allocations: 307.1 kB / 0.6276 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.5579, allocations: 7.938 kB / 0.6276 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.558, allocations: 0 / 0.6276 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.558, allocations: 3.984 kB / 0.6276 GB, free: 0.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.5591, allocations: 0.6758 MB / 0.6283 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.5591, allocations: 0 / 0.6283 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004519/0.5595, allocations: 47.95 kB / 0.6283 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.138e-05/0.5596, allocations: 20.84 kB / 0.6283 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.5596, allocations: 7.984 kB / 0.6283 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009302/0.5606, allocations: 1.368 MB / 0.6297 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5606, allocations: 0 / 0.6297 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007876/0.5614, allocations: 449 kB / 0.6301 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.5614, allocations: 93.02 kB / 0.6302 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.5615, allocations: 11.94 kB / 0.6302 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003449/0.5618, allocations: 15.92 kB / 0.6302 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.5619, allocations: 15.92 kB / 0.6302 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/0.5619, allocations: 19.98 kB / 0.6302 GB, free: 13.53 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.239e-05/0.562, allocations: 83.28 kB / 0.6303 GB, free: 13.45 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.562, allocations: 0 / 0.6303 GB, free: 13.45 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005011/0.5625, allocations: 131.9 kB / 0.6305 GB, free: 13.32 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.001617/0.5641, allocations: 1.137 MB / 0.6316 GB, free: 12.15 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006121/0.5647, allocations: 239.7 kB / 0.6318 GB, free: 11.91 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.5647, allocations: 4 kB / 0.6318 GB, free: 11.91 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003662/0.5651, allocations: 230.5 kB / 0.632 GB, free: 11.67 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.5656, allocations: 55.14 kB / 0.6321 GB, free: 11.62 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002994/0.5686, allocations: 2.129 MB / 0.6341 GB, free: 9.371 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.5688, allocations: 0.7046 MB / 0.6348 GB, free: 8.641 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003906/0.5692, allocations: 57.33 kB / 0.6349 GB, free: 8.586 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.5694, allocations: 39.42 kB / 0.6349 GB, free: 8.547 MB / 478.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5694, allocations: 0 / 0.6349 GB, free: 8.547 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02974/0.5991, allocations: 7.908 MB / 0.6426 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.61, allocations: 6.75 kB / 0.6427 GB, free: 0.7383 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