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.00122/0.00122, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001222/0.001222, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.329/1.329, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.2078/0.2078, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 68.5 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1284, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4142/0.5426, allocations: 149.6 MB / 0.6044 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.5445, allocations: 1.597 MB / 0.606 GB, free: 9.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.544e-05/0.5445, allocations: 4 kB / 0.606 GB, free: 9.586 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.5449, allocations: 50.84 kB / 0.606 GB, free: 9.539 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008541/0.5458, allocations: 402.8 kB / 0.6064 GB, free: 9.148 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004559/0.5462, allocations: 174.2 kB / 0.6066 GB, free: 8.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.5465, allocations: 187.2 kB / 0.6067 GB, free: 8.797 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.5465, allocations: 10.19 kB / 0.6068 GB, free: 8.789 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.5467, allocations: 79.7 kB / 0.6068 GB, free: 8.711 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.5468, allocations: 55.75 kB / 0.6069 GB, free: 8.656 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.5468, allocations: 8 kB / 0.6069 GB, free: 8.648 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009803/0.5478, allocations: 0.5925 MB / 0.6075 GB, free: 8.055 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.746e-05/0.5479, allocations: 31.91 kB / 0.6075 GB, free: 8.023 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.109e-05/0.5479, allocations: 51.72 kB / 0.6075 GB, free: 7.973 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005715/0.5485, allocations: 395.1 kB / 0.6079 GB, free: 7.586 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.5485, allocations: 0 / 0.6079 GB, free: 7.586 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.5485, allocations: 0 / 0.6079 GB, free: 7.586 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.5486, allocations: 0 / 0.6079 GB, free: 7.586 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.0005288/0.5491, allocations: 439.1 kB / 0.6083 GB, free: 7.113 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.5492, allocations: 8.031 kB / 0.6084 GB, free: 7.105 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.481e-05/0.5492, allocations: 53.3 kB / 0.6084 GB, free: 7.047 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002295/0.5515, allocations: 192.6 kB / 0.6086 GB, free: 6.859 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.5518, allocations: 211.9 kB / 0.6088 GB, free: 6.613 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.5518, allocations: 8 kB / 0.6088 GB, free: 6.605 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.856e-05/0.5519, allocations: 11.94 kB / 0.6088 GB, free: 6.594 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004921/0.5523, allocations: 197.5 kB / 0.609 GB, free: 6.395 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.5524, allocations: 4 kB / 0.609 GB, free: 6.391 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.5524, allocations: 0 / 0.609 GB, free: 6.391 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.5524, allocations: 7.922 kB / 0.609 GB, free: 6.383 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005802/0.553, allocations: 235.8 kB / 0.6092 GB, free: 6.152 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.001778/0.5548, allocations: 0.6684 MB / 0.6099 GB, free: 5.426 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004351/0.5553, allocations: 190.4 kB / 0.6101 GB, free: 5.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.5555, allocations: 92.81 kB / 0.6102 GB, free: 5.137 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001517/0.5556, allocations: 93.09 kB / 0.6102 GB, free: 5.027 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.5557, allocations: 38.81 kB / 0.6103 GB, free: 4.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.163e-06/0.5557, allocations: 0 / 0.6103 GB, free: 4.98 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.005729/0.5614, allocations: 1.531 MB / 0.6118 GB, free: 3.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.5615, allocations: 55.41 kB / 0.6118 GB, free: 3.273 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.974e-05/0.5616, allocations: 113.8 kB / 0.6119 GB, free: 3.152 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.5616, allocations: 29.7 kB / 0.612 GB, free: 3.117 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.738e-05/0.5617, allocations: 100.3 kB / 0.6121 GB, free: 3.016 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.653e-05/0.5617, allocations: 63.05 kB / 0.6121 GB, free: 2.953 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.078e-05/0.5618, allocations: 41.69 kB / 0.6122 GB, free: 2.906 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.892e-05/0.5619, allocations: 322.8 kB / 0.6125 GB, free: 2.582 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.5622, allocations: 93.12 kB / 0.6126 GB, free: 2.492 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.5624, allocations: 127 kB / 0.6127 GB, free: 2.359 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004534/0.5629, allocations: 225 kB / 0.6129 GB, free: 2.129 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.5629, allocations: 4 kB / 0.6129 GB, free: 2.125 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006338/0.5635, allocations: 292 kB / 0.6132 GB, free: 1.832 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.5635, allocations: 4 kB / 0.6132 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.5636, allocations: 4 kB / 0.6132 GB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001317/0.5637, allocations: 16.84 kB / 0.6132 GB, free: 1.805 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004683/0.5642, allocations: 67.98 kB / 0.6133 GB, free: 1.738 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003556/0.5645, allocations: 0.529 MB / 0.6138 GB, free: 1.184 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/0.5649, allocations: 15.97 kB / 0.6138 GB, free: 1.168 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.5649, allocations: 8 kB / 0.6138 GB, free: 1.16 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.0001264/0.565, allocations: 129.9 kB / 0.6139 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.988e-05/0.5651, allocations: 11.91 kB / 0.6139 GB, free: 1.012 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007768/0.5659, allocations: 315.1 kB / 0.6142 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.5659, allocations: 7.938 kB / 0.6142 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.5659, allocations: 3.938 kB / 0.6143 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.5659, allocations: 0 / 0.6143 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.5671, allocations: 0.6716 MB / 0.6149 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.5671, allocations: 4.094 kB / 0.6149 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004522/0.5676, allocations: 47.95 kB / 0.615 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.708e-05/0.5677, allocations: 24.78 kB / 0.615 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.5677, allocations: 11.98 kB / 0.615 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009818/0.5687, allocations: 1.359 MB / 0.6163 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.5687, allocations: 8.281 kB / 0.6163 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008298/0.5696, allocations: 449.4 kB / 0.6168 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.5696, allocations: 88.92 kB / 0.6168 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.5697, allocations: 4.062 kB / 0.6168 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003412/0.57, allocations: 15.98 kB / 0.6169 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.5701, allocations: 15.92 kB / 0.6169 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/0.5701, allocations: 15.98 kB / 0.6169 GB, free: 13.72 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.395e-05/0.5702, allocations: 95.25 kB / 0.617 GB, free: 13.63 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5702, allocations: 0 / 0.617 GB, free: 13.63 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005418/0.5707, allocations: 127.9 kB / 0.6171 GB, free: 13.5 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.001739/0.5725, allocations: 1.135 MB / 0.6182 GB, free: 12.34 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006526/0.5731, allocations: 239.8 kB / 0.6184 GB, free: 12.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.5731, allocations: 4 kB / 0.6184 GB, free: 12.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004131/0.5736, allocations: 226.5 kB / 0.6187 GB, free: 11.86 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.574, allocations: 64.92 kB / 0.6187 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003011/0.577, allocations: 2.119 MB / 0.6208 GB, free: 9.555 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.5773, allocations: 0.7046 MB / 0.6215 GB, free: 8.824 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004093/0.5777, allocations: 61.75 kB / 0.6215 GB, free: 8.766 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.5779, allocations: 39.42 kB / 0.6216 GB, free: 8.727 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.5779, allocations: 0 / 0.6216 GB, free: 8.727 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03226/0.6102, allocations: 7.898 MB / 0.6293 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.15, allocations: 3.938 kB / 0.6293 GB, free: 0.9336 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