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.001806/0.001806, allocations: 82.97 kB / 21.99 MB, free: 4.754 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.002032/0.002032, allocations: 153.4 kB / 25.25 MB, free: 2.742 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.304/1.304, allocations: 158.6 MB / 187 MB, free: 6.332 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.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: translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MixtureGases") translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MixtureGases") [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.001781/0.001781, allocations: 55.92 kB / 299.4 MB, free: 6.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1985, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3609/0.5595, allocations: 132.8 MB / 481.3 MB, free: 1.398 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002759/0.5622, allocations: 2.746 MB / 484 MB, free: 1.367 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.912e-05/0.5623, allocations: 2.219 kB / 484 MB, free: 1.367 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003769/0.5627, allocations: 95.62 kB / 484.1 MB, free: 1.363 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002293/0.565, allocations: 1.217 MB / 485.3 MB, free: 1.316 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008351/0.5658, allocations: 393.8 kB / 485.7 MB, free: 1.301 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004483/0.5663, allocations: 466.6 kB / 486.2 MB, free: 1.301 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.189e-05/0.5663, allocations: 7.5 kB / 486.2 MB, free: 1.301 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000302/0.5666, allocations: 234.4 kB / 486.4 MB, free: 1.301 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.5668, allocations: 148.6 kB / 486.6 MB, free: 1.301 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.39e-05/0.5668, allocations: 18.03 kB / 486.6 MB, free: 1.297 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002591/0.5694, allocations: 1.822 MB / 488.4 MB, free: 1.277 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.5696, allocations: 138.5 kB / 488.5 MB, free: 1.273 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.5697, allocations: 146 kB / 488.7 MB, free: 1.273 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.5713, allocations: 1.471 MB / 490.2 MB, free: 1.223 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.5713, allocations: 1.344 kB / 490.2 MB, free: 1.223 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5713, allocations: 0.9062 kB / 490.2 MB, free: 1.223 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.5713, allocations: 0 / 490.2 MB, free: 1.223 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.002022/0.5733, allocations: 0.7088 MB / 490.9 MB, free: 16.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.5734, allocations: 16.08 kB / 490.9 MB, free: 16.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006826/0.5741, allocations: 109.3 kB / 491 MB, free: 16.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004184/0.5745, allocations: 224.2 kB / 491.2 MB, free: 16.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.5745, allocations: 21.16 kB / 491.2 MB, free: 16.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.058e-05/0.5746, allocations: 28.33 kB / 491.3 MB, free: 16.67 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.5757, allocations: 0.8987 MB / 492.1 MB, free: 16.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.5758, allocations: 3.094 kB / 492.2 MB, free: 16.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.539e-05/0.5758, allocations: 19.86 kB / 492.2 MB, free: 16.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.575e-05/0.5758, allocations: 20.94 kB / 492.2 MB, free: 16.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.577, allocations: 0.6375 MB / 492.8 MB, free: 16.23 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.002652/0.5796, allocations: 1.14 MB / 494 MB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009082/0.5806, allocations: 343.8 kB / 494.3 MB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004226/0.581, allocations: 170.1 kB / 494.5 MB, free: 15.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001948/0.5829, allocations: 497.6 kB / 495 MB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.583, allocations: 39.69 kB / 495 MB, free: 15.76 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 2.716e-06/0.583, allocations: 4.703 kB / 495 MB, free: 15.75 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: 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.01519/0.5982, allocations: 3.204 MB / 498.2 MB, free: 15.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.45e-05/0.5982, allocations: 85.48 kB / 498.3 MB, free: 14.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.5984, allocations: 186.3 kB / 498.5 MB, free: 14.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.7e-05/0.5984, allocations: 38.91 kB / 498.5 MB, free: 14.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.752e-05/0.5985, allocations: 177.1 kB / 498.7 MB, free: 14.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.5986, allocations: 185.2 kB / 498.9 MB, free: 14.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.5988, allocations: 116.2 kB / 499 MB, free: 14.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.5989, allocations: 339.4 kB / 499.3 MB, free: 14.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007332/0.5997, allocations: 269.5 kB / 499.6 MB, free: 14.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007874/0.6005, allocations: 426.8 kB / 500 MB, free: 14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/0.602, allocations: 0.7021 MB / 0.489 GB, free: 13.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6021, allocations: 3.531 kB / 0.489 GB, free: 13.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001897/0.6039, allocations: 0.7774 MB / 0.4897 GB, free: 13.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.604, allocations: 12.92 kB / 0.4897 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.604, allocations: 9.531 kB / 0.4897 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001883/0.6042, allocations: 54.12 kB / 0.4898 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.6053, allocations: 183.7 kB / 0.49 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007598/0.6061, allocations: 1.072 MB / 0.491 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008107/0.6069, allocations: 45.36 kB / 0.4911 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-05/0.607, allocations: 38.31 kB / 0.4911 GB, free: 12.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.000233/0.6072, allocations: 179.2 kB / 0.4913 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.6074, allocations: 33.56 kB / 0.4913 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/0.6095, allocations: 0.782 MB / 0.4921 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.6095, allocations: 11.38 kB / 0.4921 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.6095, allocations: 0 / 0.4921 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.6095, allocations: 3.547 kB / 0.4921 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003147/0.6126, allocations: 1.404 MB / 0.4934 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.6126, allocations: 4.344 kB / 0.4934 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.6138, allocations: 147.4 kB / 0.4936 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001194/0.6139, allocations: 42.95 kB / 0.4936 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.822e-05/0.614, allocations: 23.52 kB / 0.4937 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/0.6159, allocations: 2.481 MB / 0.4961 GB, free: 9.555 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6159, allocations: 4.469 kB / 0.4961 GB, free: 9.555 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002549/0.6184, allocations: 1.086 MB / 0.4971 GB, free: 9.238 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.6184, allocations: 19.45 kB / 0.4972 GB, free: 9.227 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.441e-05/0.6185, allocations: 20.72 kB / 0.4972 GB, free: 9.223 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008859/0.6194, allocations: 33.97 kB / 0.4972 GB, free: 9.223 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.6195, allocations: 47.77 kB / 0.4973 GB, free: 9.223 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.78e-05/0.6195, allocations: 38.48 kB / 0.4973 GB, free: 9.219 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.815e-05/0.6196, allocations: 123.3 kB / 0.4974 GB, free: 9.145 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6196, allocations: 0 / 0.4974 GB, free: 9.145 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001364/0.621, allocations: 394.3 kB / 0.4978 GB, free: 9.094 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.00206/0.623, allocations: 0.8632 MB / 0.4986 GB, free: 8.863 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001798/0.6248, allocations: 0.6366 MB / 0.4993 GB, free: 8.832 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6248, allocations: 2.375 kB / 0.4993 GB, free: 8.832 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.6259, allocations: 0.5283 MB / 0.4998 GB, free: 8.605 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007487/0.6267, allocations: 106.4 kB / 0.4999 GB, free: 8.582 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.6287, allocations: 0.9905 MB / 0.5008 GB, free: 8.059 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/0.6288, allocations: 178.2 kB / 0.501 GB, free: 7.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007994/0.6296, allocations: 188.4 kB / 0.5012 GB, free: 7.887 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002874/0.6299, allocations: 63.95 kB / 0.5012 GB, free: 7.875 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.6299, allocations: 1.203 kB / 0.5012 GB, free: 7.875 MB / 446.1 MB Notification: Performance of Templates: time 0.02332/0.6532, allocations: 16.24 MB / 0.5171 GB, free: 2.289 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 480] 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: 5.66233674203977]