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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 119.8 kB / 18.45 MB, free: 4.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 190.9 kB / 21.39 MB, free: 1.52 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.368/1.368, allocations: 207.6 MB / 231.8 MB, free: 4.176 MB / 174.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.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(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.001665/0.001665, allocations: 59.91 kB / 342.2 MB, free: 10.16 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08762/0.08928, allocations: 49.12 MB / 391.4 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.35/0.4392, allocations: 154.7 MB / 0.5333 GB, free: 8.109 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003843/0.4431, allocations: 3.044 MB / 0.5363 GB, free: 5.062 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.4432, allocations: 4 kB / 0.5363 GB, free: 5.059 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004453/0.4437, allocations: 115.4 kB / 0.5364 GB, free: 4.945 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002671/0.4463, allocations: 1.175 MB / 0.5375 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009604/0.4473, allocations: 394.7 kB / 0.5379 GB, free: 3.383 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005686/0.4479, allocations: 458.8 kB / 0.5383 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.562e-05/0.4479, allocations: 13.55 kB / 0.5384 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003543/0.4483, allocations: 221.2 kB / 0.5386 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/0.4485, allocations: 155.4 kB / 0.5387 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.813e-05/0.4485, allocations: 16 kB / 0.5387 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003799/0.4523, allocations: 2.166 MB / 0.5408 GB, free: 376 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.4525, allocations: 147.6 kB / 0.541 GB, free: 228 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.4527, allocations: 163.4 kB / 0.5411 GB, free: 64 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002345/0.455, allocations: 1.535 MB / 0.5426 GB, free: 14.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.455, allocations: 0 / 0.5426 GB, free: 14.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.455, allocations: 0 / 0.5426 GB, free: 14.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.4551, allocations: 4 kB / 0.5426 GB, free: 14.52 MB / 430.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.002179/0.4572, allocations: 0.7866 MB / 0.5434 GB, free: 13.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.4573, allocations: 8.031 kB / 0.5434 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.813e-05/0.4574, allocations: 66.72 kB / 0.5435 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000701/0.4581, allocations: 108.7 kB / 0.5436 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004864/0.4586, allocations: 283.5 kB / 0.5439 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.4586, allocations: 24.5 kB / 0.5439 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.011e-05/0.4587, allocations: 28 kB / 0.5439 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.4598, allocations: 0.5926 MB / 0.5445 GB, free: 12.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.4598, allocations: 0 / 0.5445 GB, free: 12.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.179e-05/0.4598, allocations: 12 kB / 0.5445 GB, free: 12.51 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-05/0.4599, allocations: 24.42 kB / 0.5445 GB, free: 12.49 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/0.4611, allocations: 0.6302 MB / 0.5451 GB, free: 11.86 MB / 430.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.003016/0.4641, allocations: 1.302 MB / 0.5464 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009162/0.465, allocations: 341.9 kB / 0.5467 GB, free: 10.15 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000428/0.4655, allocations: 165.8 kB / 0.5469 GB, free: 9.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00252/0.468, allocations: 1.391 MB / 0.5482 GB, free: 8.367 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.468, allocations: 34.75 kB / 0.5483 GB, free: 8.324 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.394e-06/0.468, allocations: 4 kB / 0.5483 GB, free: 8.32 MB / 430.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.01477/0.4828, allocations: 3.492 MB / 0.5517 GB, free: 4.629 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.4828, allocations: 81.11 kB / 0.5518 GB, free: 4.531 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.483, allocations: 179.5 kB / 0.5519 GB, free: 4.348 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.469e-05/0.4831, allocations: 37.7 kB / 0.552 GB, free: 4.305 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.4832, allocations: 180.6 kB / 0.5522 GB, free: 4.121 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.4834, allocations: 182.4 kB / 0.5523 GB, free: 3.941 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/0.4836, allocations: 114.3 kB / 0.5524 GB, free: 3.824 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4837, allocations: 350.6 kB / 0.5528 GB, free: 3.473 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007392/0.4844, allocations: 265.1 kB / 0.553 GB, free: 3.211 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008438/0.4853, allocations: 421.5 kB / 0.5534 GB, free: 2.734 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/0.4869, allocations: 0.6991 MB / 0.5541 GB, free: 1.969 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.4869, allocations: 8 kB / 0.5541 GB, free: 1.961 MB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001934/0.4888, allocations: 0.7846 MB / 0.5549 GB, free: 1.164 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.4888, allocations: 8 kB / 0.5549 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.4888, allocations: 7.938 kB / 0.5549 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002113/0.4891, allocations: 53.69 kB / 0.5549 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.4902, allocations: 179.7 kB / 0.5551 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007543/0.491, allocations: 1.081 MB / 0.5562 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007439/0.4917, allocations: 48.14 kB / 0.5562 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.692e-05/0.4918, allocations: 39.97 kB / 0.5563 GB, free: 15.7 MB / 446.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.000276/0.4921, allocations: 181.5 kB / 0.5564 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.4922, allocations: 27.86 kB / 0.5565 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.4943, allocations: 0.7747 MB / 0.5572 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.4943, allocations: 8 kB / 0.5572 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4943, allocations: 4 kB / 0.5572 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4943, allocations: 0 / 0.5572 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00329/0.4976, allocations: 1.559 MB / 0.5587 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.4976, allocations: 4 kB / 0.5588 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.4987, allocations: 152 kB / 0.5589 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001457/0.4989, allocations: 45.58 kB / 0.5589 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.739e-05/0.4989, allocations: 27.97 kB / 0.559 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002041/0.501, allocations: 2.73 MB / 0.5616 GB, free: 9.785 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.501, allocations: 4.031 kB / 0.5616 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002554/0.5035, allocations: 1.073 MB / 0.5627 GB, free: 8.664 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.5036, allocations: 100.9 kB / 0.5628 GB, free: 8.547 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.781e-05/0.5037, allocations: 20 kB / 0.5628 GB, free: 8.527 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007988/0.5045, allocations: 36 kB / 0.5628 GB, free: 8.492 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.33e-05/0.5046, allocations: 43.83 kB / 0.5629 GB, free: 8.449 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.809e-05/0.5047, allocations: 43.84 kB / 0.5629 GB, free: 8.406 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00011/0.5048, allocations: 128.4 kB / 0.563 GB, free: 8.281 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5048, allocations: 0 / 0.563 GB, free: 8.281 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001306/0.5061, allocations: 391.2 kB / 0.5634 GB, free: 7.898 MB / 446.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.005101/0.5112, allocations: 2.37 MB / 0.5657 GB, free: 5.473 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001861/0.5131, allocations: 0.6285 MB / 0.5663 GB, free: 4.848 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.5131, allocations: 0 / 0.5663 GB, free: 4.848 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.5142, allocations: 0.5209 MB / 0.5668 GB, free: 4.301 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007799/0.5149, allocations: 104.6 kB / 0.5669 GB, free: 4.199 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008138/0.5231, allocations: 4.223 MB / 0.5711 GB, free: 15.71 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.5235, allocations: 0.7891 MB / 0.5718 GB, free: 14.89 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008671/0.5244, allocations: 183.1 kB / 0.572 GB, free: 14.71 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003685/0.5247, allocations: 131.4 kB / 0.5721 GB, free: 14.59 MB / 462.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5247, allocations: 0 / 0.5721 GB, free: 14.59 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05367/0.5784, allocations: 19.72 MB / 0.5914 GB, free: 10.76 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.52, allocations: 3.938 kB / 0.5914 GB, free: 10.76 MB / 478.1 MB " [Timeout remaining time 646] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 16.103203542064875]