Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.005709/0.005709, allocations: 110.5 kB / 21.97 MB, free: 5.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 205.1 kB / 25.27 MB, free: 3.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.277/1.277, allocations: 207.6 MB / 236 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MixtureGases",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MixtureGases",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 55.92 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.231, allocations: 49.15 MB / 397.1 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.1704/0.4014, allocations: 154.8 MB / 0.539 GB, free: 7.961 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003866/0.4052, allocations: 3.057 MB / 0.542 GB, free: 4.895 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.4054, allocations: 0 / 0.542 GB, free: 4.895 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000446/0.4058, allocations: 111.4 kB / 0.5421 GB, free: 4.785 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002898/0.4087, allocations: 1.253 MB / 0.5433 GB, free: 3.531 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.4097, allocations: 390.8 kB / 0.5437 GB, free: 3.148 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006718/0.4104, allocations: 462.9 kB / 0.5441 GB, free: 2.695 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.618e-05/0.4105, allocations: 9.75 kB / 0.5441 GB, free: 2.688 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004583/0.4109, allocations: 231.1 kB / 0.5443 GB, free: 2.461 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002646/0.4112, allocations: 151.5 kB / 0.5445 GB, free: 2.312 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.809e-05/0.4112, allocations: 16 kB / 0.5445 GB, free: 2.297 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004076/0.4153, allocations: 2.266 MB / 0.5467 GB, free: 28 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.4155, allocations: 139.6 kB / 0.5469 GB, free: 15.89 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002066/0.4157, allocations: 167.3 kB / 0.547 GB, free: 15.73 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002538/0.4182, allocations: 1.548 MB / 0.5485 GB, free: 14.18 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4182, allocations: 0 / 0.5485 GB, free: 14.18 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4182, allocations: 4 kB / 0.5485 GB, free: 14.17 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.4182, allocations: 0 / 0.5485 GB, free: 14.17 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.00224/0.4205, allocations: 0.7036 MB / 0.5492 GB, free: 13.43 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.4205, allocations: 15.98 kB / 0.5492 GB, free: 13.42 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.77e-05/0.4205, allocations: 4.844 kB / 0.5492 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.484e-05/0.4206, allocations: 70.72 kB / 0.5493 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006922/0.4213, allocations: 116.7 kB / 0.5494 GB, free: 13.22 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.4217, allocations: 221.3 kB / 0.5496 GB, free: 12.98 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.4217, allocations: 20.66 kB / 0.5496 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.603e-05/0.4218, allocations: 24 kB / 0.5497 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.4229, allocations: 0.6048 MB / 0.5503 GB, free: 12.32 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.4229, allocations: 0 / 0.5503 GB, free: 12.32 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.774e-05/0.423, allocations: 12 kB / 0.5503 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.23e-05/0.423, allocations: 20.42 kB / 0.5503 GB, free: 12.29 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.4243, allocations: 0.6419 MB / 0.5509 GB, free: 11.64 MB / 478.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.00285/0.4272, allocations: 1.259 MB / 0.5521 GB, free: 10.34 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009987/0.4282, allocations: 352.8 kB / 0.5525 GB, free: 9.973 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004636/0.4286, allocations: 165.6 kB / 0.5526 GB, free: 9.805 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001988/0.4306, allocations: 495.5 kB / 0.5531 GB, free: 9.32 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.4306, allocations: 50.44 kB / 0.5532 GB, free: 9.262 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 2.144e-06/0.4306, allocations: 0 / 0.5532 GB, free: 9.262 MB / 478.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: medium1.T Please use -d=bltdump for more information. 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: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.01467/0.4453, allocations: 3.181 MB / 0.5563 GB, free: 5.945 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.4454, allocations: 85.11 kB / 0.5564 GB, free: 5.844 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.4455, allocations: 179.4 kB / 0.5565 GB, free: 5.66 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.944e-05/0.4456, allocations: 37.7 kB / 0.5566 GB, free: 5.617 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.4457, allocations: 180.5 kB / 0.5567 GB, free: 5.434 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/0.4459, allocations: 182.4 kB / 0.5569 GB, free: 5.254 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.4461, allocations: 118.3 kB / 0.557 GB, free: 5.129 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002052/0.4463, allocations: 338.8 kB / 0.5573 GB, free: 4.789 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007636/0.4471, allocations: 261.1 kB / 0.5576 GB, free: 4.535 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009008/0.448, allocations: 433.4 kB / 0.558 GB, free: 4.043 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/0.4497, allocations: 0.6991 MB / 0.5587 GB, free: 3.277 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4497, allocations: 0 / 0.5587 GB, free: 3.277 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002039/0.4517, allocations: 0.7837 MB / 0.5595 GB, free: 2.48 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.4517, allocations: 8.156 kB / 0.5595 GB, free: 2.473 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.4517, allocations: 4 kB / 0.5595 GB, free: 2.469 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002373/0.452, allocations: 66.19 kB / 0.5595 GB, free: 2.398 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.4531, allocations: 179.7 kB / 0.5597 GB, free: 2.223 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007674/0.4539, allocations: 1.074 MB / 0.5607 GB, free: 1.098 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007507/0.4546, allocations: 43.89 kB / 0.5608 GB, free: 1.055 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.394e-05/0.4547, allocations: 35.98 kB / 0.5608 GB, free: 1.02 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002789/0.455, allocations: 177.9 kB / 0.561 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.4551, allocations: 35.75 kB / 0.561 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/0.4574, allocations: 0.7864 MB / 0.5618 GB, free: 0 / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1535/0.6109, allocations: 3.828 kB / 0.5618 GB, free: 164.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/0.6109, allocations: 0.875 kB / 0.5618 GB, free: 164.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.841e-05/0.611, allocations: 3.562 kB / 0.5618 GB, free: 164.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003454/0.6144, allocations: 1.525 MB / 0.5633 GB, free: 163.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.6144, allocations: 2.125 kB / 0.5633 GB, free: 163.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.6155, allocations: 149.4 kB / 0.5634 GB, free: 163.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001205/0.6156, allocations: 52.12 kB / 0.5635 GB, free: 163.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.448e-05/0.6157, allocations: 24.41 kB / 0.5635 GB, free: 163.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001067/0.6167, allocations: 2.519 MB / 0.566 GB, free: 161 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.6167, allocations: 5.047 kB / 0.566 GB, free: 161 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002426/0.6191, allocations: 1.075 MB / 0.567 GB, free: 160.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.494e-05/0.6192, allocations: 25.12 kB / 0.567 GB, free: 160.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.372e-05/0.6193, allocations: 14.47 kB / 0.5671 GB, free: 160.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007739/0.62, allocations: 46.3 kB / 0.5671 GB, free: 160.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.6201, allocations: 45.2 kB / 0.5671 GB, free: 160.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.297e-05/0.6202, allocations: 34.56 kB / 0.5672 GB, free: 160.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.494e-05/0.6203, allocations: 123.4 kB / 0.5673 GB, free: 160.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6203, allocations: 0 / 0.5673 GB, free: 160.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001239/0.6215, allocations: 391.4 kB / 0.5677 GB, free: 160.3 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.004615/0.6261, allocations: 2.364 MB / 0.57 GB, free: 159.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00177/0.6279, allocations: 0.6323 MB / 0.5706 GB, free: 159.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.6279, allocations: 0.75 kB / 0.5706 GB, free: 159.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009883/0.6289, allocations: 0.5269 MB / 0.5711 GB, free: 158.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007148/0.6296, allocations: 96.64 kB / 0.5712 GB, free: 158.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006824/0.6364, allocations: 4.253 MB / 0.5754 GB, free: 155.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.6366, allocations: 0.7832 MB / 0.5761 GB, free: 155.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007547/0.6374, allocations: 186.3 kB / 0.5763 GB, free: 155.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003616/0.6377, allocations: 123.4 kB / 0.5764 GB, free: 155.1 MB / 478.1 MB Notification: Performance of SimCode: time 5.21e-07/0.6377, allocations: 3.828 kB / 0.5764 GB, free: 155.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0437/0.6814, allocations: 20.24 MB / 0.5962 GB, free: 141.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/14.31, allocations: 11.91 kB / 0.5962 GB, free: 141.5 MB / 478.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.MixtureGases_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_MixtureGases_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_MixtureGases.fmu > Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.119695188011974]