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.005932/0.005933, allocations: 100.2 kB / 15.87 MB, free: 6.309 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.001271/0.001271, allocations: 195.7 kB / 16.79 MB, free: 6.238 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.373/1.373, allocations: 205.1 MB / 222.6 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3364/0.3364, allocations: 43.5 MB / 313.5 MB, free: 8.492 MB / 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.001421/0.001421, allocations: 71.89 kB / 382.1 MB, free: 8.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1117, allocations: 57.78 MB / 439.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3221/0.4339, allocations: 148.6 MB / 0.5748 GB, free: 7.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.4356, allocations: 1.54 MB / 0.5763 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.934e-05/0.4356, allocations: 4 kB / 0.5763 GB, free: 5.973 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.4359, allocations: 43.8 kB / 0.5763 GB, free: 5.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006995/0.4366, allocations: 357.1 kB / 0.5766 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003802/0.437, allocations: 148.8 kB / 0.5768 GB, free: 5.445 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.4373, allocations: 243.2 kB / 0.577 GB, free: 5.207 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.873e-05/0.4373, allocations: 14.64 kB / 0.577 GB, free: 5.195 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.4374, allocations: 71.7 kB / 0.5771 GB, free: 5.125 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.4376, allocations: 63.75 kB / 0.5772 GB, free: 5.062 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.4376, allocations: 4 kB / 0.5772 GB, free: 5.059 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009626/0.4386, allocations: 0.6743 MB / 0.5778 GB, free: 4.383 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.991e-05/0.4386, allocations: 27.91 kB / 0.5778 GB, free: 4.355 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.114e-05/0.4387, allocations: 47.78 kB / 0.5779 GB, free: 4.309 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005334/0.4392, allocations: 430.9 kB / 0.5783 GB, free: 3.887 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.4392, allocations: 4 kB / 0.5783 GB, free: 3.883 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.4392, allocations: 0 / 0.5783 GB, free: 3.883 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.4393, allocations: 0 / 0.5783 GB, free: 3.883 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.0005019/0.4398, allocations: 431.2 kB / 0.5787 GB, free: 3.418 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.4398, allocations: 8.031 kB / 0.5787 GB, free: 3.41 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.209e-05/0.4398, allocations: 42.73 kB / 0.5788 GB, free: 3.359 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002104/0.442, allocations: 191.1 kB / 0.5789 GB, free: 3.176 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.4422, allocations: 208.4 kB / 0.5791 GB, free: 2.934 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.4422, allocations: 15.94 kB / 0.5792 GB, free: 2.918 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.243e-05/0.4422, allocations: 15.92 kB / 0.5792 GB, free: 2.902 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004483/0.4427, allocations: 197.5 kB / 0.5794 GB, free: 2.703 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.4427, allocations: 0 / 0.5794 GB, free: 2.703 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.4428, allocations: 8 kB / 0.5794 GB, free: 2.695 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4428, allocations: 0.6562 kB / 0.5794 GB, free: 2.695 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005573/0.4433, allocations: 239.8 kB / 0.5796 GB, free: 2.461 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.00158/0.4449, allocations: 0.6585 MB / 0.5802 GB, free: 1.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004059/0.4453, allocations: 194.4 kB / 0.5804 GB, free: 1.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.4455, allocations: 96.19 kB / 0.5805 GB, free: 1.477 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001558/0.4457, allocations: 93.09 kB / 0.5806 GB, free: 1.367 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.4457, allocations: 34.81 kB / 0.5806 GB, free: 1.324 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.4457, allocations: 0 / 0.5806 GB, free: 1.324 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.005415/0.4512, allocations: 1.532 MB / 0.5821 GB, free: 15.69 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.4512, allocations: 55.41 kB / 0.5822 GB, free: 15.62 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.085e-05/0.4513, allocations: 105.8 kB / 0.5823 GB, free: 15.51 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.4513, allocations: 29.7 kB / 0.5823 GB, free: 15.47 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.218e-05/0.4514, allocations: 108.2 kB / 0.5824 GB, free: 15.36 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.176e-05/0.4515, allocations: 67 kB / 0.5825 GB, free: 15.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.785e-05/0.4516, allocations: 45.69 kB / 0.5825 GB, free: 15.25 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.4517, allocations: 322.8 kB / 0.5828 GB, free: 14.92 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.4519, allocations: 95.94 kB / 0.5829 GB, free: 14.83 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.4521, allocations: 124.5 kB / 0.5831 GB, free: 14.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004476/0.4526, allocations: 227.1 kB / 0.5833 GB, free: 14.47 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.4526, allocations: 3.938 kB / 0.5833 GB, free: 14.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000608/0.4532, allocations: 286.2 kB / 0.5835 GB, free: 14.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.4533, allocations: 4 kB / 0.5836 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.4533, allocations: 0 / 0.5836 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001722/0.4535, allocations: 27.97 kB / 0.5836 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004591/0.4539, allocations: 55.89 kB / 0.5836 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004377/0.4544, allocations: 0.5369 MB / 0.5842 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/0.4547, allocations: 15.88 kB / 0.5842 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.252e-05/0.4547, allocations: 8 kB / 0.5842 GB, free: 13.5 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.000169/0.4549, allocations: 129.7 kB / 0.5843 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.079e-05/0.455, allocations: 15.84 kB / 0.5843 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008093/0.4558, allocations: 314.3 kB / 0.5846 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4558, allocations: 4 kB / 0.5846 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.4559, allocations: 3.938 kB / 0.5846 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4559, allocations: 4 kB / 0.5846 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.457, allocations: 0.6679 MB / 0.5853 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.4571, allocations: 0 / 0.5853 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004196/0.4575, allocations: 52.05 kB / 0.5853 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-05/0.4576, allocations: 28.69 kB / 0.5854 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/0.4576, allocations: 7.984 kB / 0.5854 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008916/0.4585, allocations: 1.264 MB / 0.5866 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.658e-05/0.4586, allocations: 7.969 kB / 0.5866 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000805/0.4594, allocations: 452.9 kB / 0.587 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.907e-05/0.4594, allocations: 85.05 kB / 0.5871 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.4595, allocations: 11.94 kB / 0.5871 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003113/0.4598, allocations: 7.984 kB / 0.5871 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.4598, allocations: 23.83 kB / 0.5872 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/0.4599, allocations: 11.98 kB / 0.5872 GB, free: 10.18 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.584e-05/0.4599, allocations: 87.34 kB / 0.5873 GB, free: 10.09 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4599, allocations: 4 kB / 0.5873 GB, free: 10.09 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005462/0.4605, allocations: 127.9 kB / 0.5874 GB, free: 9.961 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 (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.001662/0.4621, allocations: 1.133 MB / 0.5885 GB, free: 8.789 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006007/0.4627, allocations: 227.8 kB / 0.5887 GB, free: 8.566 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4628, allocations: 0 / 0.5887 GB, free: 8.566 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003778/0.4631, allocations: 235.3 kB / 0.5889 GB, free: 8.324 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.4636, allocations: 51.83 kB / 0.589 GB, free: 8.273 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002799/0.4664, allocations: 2.171 MB / 0.5911 GB, free: 5.988 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.4667, allocations: 0.7126 MB / 0.5918 GB, free: 5.25 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004193/0.4671, allocations: 50.09 kB / 0.5918 GB, free: 5.203 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.4673, allocations: 39.42 kB / 0.5919 GB, free: 5.164 MB / 462.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4673, allocations: 0 / 0.5919 GB, free: 5.164 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/0.487, allocations: 7.685 MB / 0.5994 GB, free: 13.51 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/0.4873, allocations: 222.5 kB / 0.5996 GB, free: 13.26 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.945/2.432, allocations: 4 kB / 0.5996 GB, free: 13.26 MB / 478.1 MB (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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches