Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_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.001186/0.001186, allocations: 104.7 kB / 16.4 MB, free: 6.484 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.00139/0.00139, allocations: 188.1 kB / 17.34 MB, free: 5.766 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.456/1.456, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2167/0.2167, allocations: 43.52 MB / 314.1 MB, free: 472 kB / 254.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.001629/0.001629, allocations: 71.91 kB / 441.3 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1053, allocations: 57.79 MB / 499.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4135/0.5189, allocations: 150.8 MB / 0.6347 GB, free: 4.203 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002119/0.521, allocations: 1.499 MB / 0.6362 GB, free: 2.715 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.5212, allocations: 3 kB / 0.6362 GB, free: 2.715 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004228/0.5216, allocations: 50.61 kB / 0.6362 GB, free: 2.668 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001083/0.5228, allocations: 379.4 kB / 0.6366 GB, free: 2.301 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004972/0.5233, allocations: 172.3 kB / 0.6367 GB, free: 2.133 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002598/0.5235, allocations: 183.2 kB / 0.6369 GB, free: 1.953 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.839e-05/0.5236, allocations: 11.98 kB / 0.6369 GB, free: 1.941 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.5238, allocations: 83.69 kB / 0.637 GB, free: 1.859 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.524, allocations: 59.75 kB / 0.6371 GB, free: 1.801 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.524, allocations: 4 kB / 0.6371 GB, free: 1.797 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.5251, allocations: 0.5691 MB / 0.6376 GB, free: 1.227 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.347e-05/0.5252, allocations: 43.81 kB / 0.6377 GB, free: 1.184 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.535e-05/0.5252, allocations: 51.8 kB / 0.6377 GB, free: 1.133 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006611/0.5259, allocations: 383.1 kB / 0.6381 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.5259, allocations: 0 / 0.6381 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5259, allocations: 0 / 0.6381 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.5259, allocations: 0 / 0.6381 GB, free: 0.7578 MB / 478.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.0006052/0.5266, allocations: 442.7 kB / 0.6385 GB, free: 288 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.5266, allocations: 11.89 kB / 0.6385 GB, free: 276 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.499e-05/0.5267, allocations: 42.73 kB / 0.6385 GB, free: 224 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002196/0.5289, allocations: 191.5 kB / 0.6387 GB, free: 36 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.5292, allocations: 212.3 kB / 0.6389 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.5292, allocations: 15.94 kB / 0.6389 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.718e-05/0.5293, allocations: 7.984 kB / 0.639 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000483/0.5297, allocations: 201.5 kB / 0.6391 GB, free: 15.56 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.5298, allocations: 0 / 0.6391 GB, free: 15.56 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.815e-05/0.5298, allocations: 0 / 0.6391 GB, free: 15.56 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.5298, allocations: 4 kB / 0.6392 GB, free: 15.56 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005749/0.5304, allocations: 243.8 kB / 0.6394 GB, free: 15.32 MB / 494.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.001679/0.5321, allocations: 0.6529 MB / 0.64 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004373/0.5325, allocations: 195 kB / 0.6402 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.5327, allocations: 88.81 kB / 0.6403 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001603/0.5329, allocations: 97.03 kB / 0.6404 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.533, allocations: 38.56 kB / 0.6404 GB, free: 14.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.533, allocations: 0 / 0.6404 GB, free: 14.16 MB / 494.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.005503/0.5385, allocations: 1.531 MB / 0.6419 GB, free: 12.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.5385, allocations: 55.34 kB / 0.642 GB, free: 12.46 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.268e-05/0.5386, allocations: 113.8 kB / 0.6421 GB, free: 12.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.5386, allocations: 29.7 kB / 0.6421 GB, free: 12.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.5387, allocations: 104.3 kB / 0.6422 GB, free: 12.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.319e-05/0.5388, allocations: 66.95 kB / 0.6423 GB, free: 12.13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.617e-05/0.5389, allocations: 41.7 kB / 0.6423 GB, free: 12.08 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.524e-05/0.539, allocations: 318.8 kB / 0.6426 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.5392, allocations: 91.95 kB / 0.6427 GB, free: 11.67 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.5394, allocations: 131.2 kB / 0.6428 GB, free: 11.53 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004547/0.5399, allocations: 223.3 kB / 0.643 GB, free: 11.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5399, allocations: 3.938 kB / 0.643 GB, free: 11.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005947/0.5405, allocations: 282.2 kB / 0.6433 GB, free: 11.01 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.5405, allocations: 8 kB / 0.6433 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.5406, allocations: 0 / 0.6433 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001289/0.5407, allocations: 28.78 kB / 0.6433 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004395/0.5411, allocations: 53.14 kB / 0.6434 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003556/0.5415, allocations: 0.5368 MB / 0.6439 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002845/0.5418, allocations: 12.02 kB / 0.6439 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.5418, allocations: 8 kB / 0.6439 GB, free: 10.34 MB / 494.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.0001189/0.542, allocations: 129.7 kB / 0.6441 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.542, allocations: 15.81 kB / 0.6441 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007396/0.5428, allocations: 315.1 kB / 0.6444 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.5428, allocations: 4 kB / 0.6444 GB, free: 9.867 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.5428, allocations: 3.938 kB / 0.6444 GB, free: 9.863 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.5428, allocations: 0 / 0.6444 GB, free: 9.863 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.5439, allocations: 0.6869 MB / 0.6451 GB, free: 9.105 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.5439, allocations: 8 kB / 0.6451 GB, free: 9.098 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004402/0.5444, allocations: 51.89 kB / 0.6451 GB, free: 9.047 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.09e-05/0.5445, allocations: 24.94 kB / 0.6451 GB, free: 9.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-05/0.5445, allocations: 7.984 kB / 0.6451 GB, free: 9.012 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008342/0.5453, allocations: 1.371 MB / 0.6465 GB, free: 7.504 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.5453, allocations: 0 / 0.6465 GB, free: 7.504 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008231/0.5462, allocations: 446.8 kB / 0.6469 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.863e-05/0.5462, allocations: 88.98 kB / 0.647 GB, free: 6.934 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.239e-05/0.5463, allocations: 8 kB / 0.647 GB, free: 6.926 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003358/0.5466, allocations: 11.98 kB / 0.647 GB, free: 6.914 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.5467, allocations: 11.98 kB / 0.647 GB, free: 6.902 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/0.5467, allocations: 20.05 kB / 0.647 GB, free: 6.883 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.479e-05/0.5467, allocations: 79.28 kB / 0.6471 GB, free: 6.805 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5468, allocations: 0 / 0.6471 GB, free: 6.805 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005485/0.5473, allocations: 135.9 kB / 0.6473 GB, free: 6.672 MB / 494.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.001724/0.549, allocations: 1.129 MB / 0.6484 GB, free: 5.508 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006228/0.5497, allocations: 231.8 kB / 0.6486 GB, free: 5.281 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.5497, allocations: 0 / 0.6486 GB, free: 5.281 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004003/0.5501, allocations: 238.7 kB / 0.6488 GB, free: 5.035 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/0.5506, allocations: 52.38 kB / 0.6489 GB, free: 4.984 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/0.5535, allocations: 2.135 MB / 0.6509 GB, free: 2.73 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.5538, allocations: 0.7046 MB / 0.6516 GB, free: 2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002803/0.5541, allocations: 53.39 kB / 0.6517 GB, free: 1.945 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.5542, allocations: 43.41 kB / 0.6517 GB, free: 1.902 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.5542, allocations: 0 / 0.6517 GB, free: 1.902 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03036/0.5846, allocations: 8.028 MB / 0.6596 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.17, allocations: 23.98 kB / 0.6596 GB, free: 9.84 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches