Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.009166/0.009166, allocations: 103 kB / 21.97 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002304/0.002304, allocations: 220.6 kB / 25.29 MB, free: 3.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.513/1.513, allocations: 230.6 MB / 259 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 64.77 kB / 379.8 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2764, allocations: 53.37 MB / 433.2 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.4949/0.7713, allocations: 155.9 MB / 0.5753 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004426/0.7757, allocations: 4.061 MB / 0.5792 GB, free: 12.63 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002046/0.7759, allocations: 1.094 kB / 0.5792 GB, free: 12.63 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000491/0.7764, allocations: 107.7 kB / 0.5793 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003269/0.7797, allocations: 1.247 MB / 0.5806 GB, free: 12.35 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.7808, allocations: 403.5 kB / 0.5809 GB, free: 12.29 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000655/0.7814, allocations: 463.8 kB / 0.5814 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.537e-05/0.7815, allocations: 7.469 kB / 0.5814 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004308/0.7819, allocations: 258.3 kB / 0.5816 GB, free: 12.17 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002285/0.7821, allocations: 150.8 kB / 0.5818 GB, free: 12.16 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.814e-05/0.7822, allocations: 15.78 kB / 0.5818 GB, free: 12.16 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004337/0.7865, allocations: 2.271 MB / 0.584 GB, free: 11.91 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.7867, allocations: 141.8 kB / 0.5841 GB, free: 11.91 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002417/0.7869, allocations: 160.5 kB / 0.5843 GB, free: 11.91 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003253/0.7902, allocations: 1.56 MB / 0.5858 GB, free: 11.38 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7902, allocations: 0 / 0.5858 GB, free: 11.38 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.7902, allocations: 2.562 kB / 0.5858 GB, free: 11.38 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.7902, allocations: 0 / 0.5858 GB, free: 11.38 MB / 462.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.002486/0.7927, allocations: 0.7069 MB / 0.5865 GB, free: 10.88 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.7927, allocations: 14.06 kB / 0.5865 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000764/0.7935, allocations: 108.5 kB / 0.5866 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005045/0.794, allocations: 223 kB / 0.5868 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.794, allocations: 17.53 kB / 0.5869 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.89e-05/0.7941, allocations: 28.44 kB / 0.5869 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.7952, allocations: 0.6011 MB / 0.5875 GB, free: 10.47 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.7953, allocations: 0 / 0.5875 GB, free: 10.47 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.729e-05/0.7953, allocations: 13.66 kB / 0.5875 GB, free: 10.47 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.581e-05/0.7953, allocations: 25.7 kB / 0.5875 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/0.797, allocations: 0.6494 MB / 0.5881 GB, free: 10.34 MB / 462.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.003576/0.8006, allocations: 1.24 MB / 0.5894 GB, free: 9.727 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000919/0.8015, allocations: 348.6 kB / 0.5897 GB, free: 9.613 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004338/0.8019, allocations: 177.1 kB / 0.5899 GB, free: 9.559 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001982/0.8039, allocations: 481.9 kB / 0.5903 GB, free: 9.438 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.8039, allocations: 40.78 kB / 0.5904 GB, free: 9.395 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.965e-06/0.8039, allocations: 1.094 kB / 0.5904 GB, free: 9.395 MB / 462.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.01494/0.8189, allocations: 3.185 MB / 0.5935 GB, free: 8.035 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.834e-05/0.8189, allocations: 86.11 kB / 0.5936 GB, free: 7.938 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.8191, allocations: 185.1 kB / 0.5937 GB, free: 7.809 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.898e-05/0.8192, allocations: 43.23 kB / 0.5938 GB, free: 7.77 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.8193, allocations: 187 kB / 0.594 GB, free: 7.605 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.8195, allocations: 177.7 kB / 0.5941 GB, free: 7.477 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/0.8197, allocations: 120.5 kB / 0.5942 GB, free: 7.438 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.8199, allocations: 340.2 kB / 0.5946 GB, free: 7.117 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007199/0.8206, allocations: 263.1 kB / 0.5948 GB, free: 7.066 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008681/0.8215, allocations: 422.8 kB / 0.5952 GB, free: 6.824 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/0.8231, allocations: 0.6984 MB / 0.5959 GB, free: 6.551 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.8231, allocations: 2.469 kB / 0.5959 GB, free: 6.551 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002067/0.8252, allocations: 0.7872 MB / 0.5967 GB, free: 6.184 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.8252, allocations: 4.812 kB / 0.5967 GB, free: 6.184 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.8252, allocations: 11.44 kB / 0.5967 GB, free: 6.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002546/0.8255, allocations: 51.23 kB / 0.5967 GB, free: 6.152 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.8267, allocations: 186.6 kB / 0.5969 GB, free: 6.094 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000934/0.8276, allocations: 1.07 MB / 0.598 GB, free: 5.023 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008257/0.8284, allocations: 44.98 kB / 0.598 GB, free: 5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.643e-05/0.8285, allocations: 43.45 kB / 0.598 GB, free: 4.984 MB / 462.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.0003141/0.8288, allocations: 176.6 kB / 0.5982 GB, free: 4.824 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.8289, allocations: 31.47 kB / 0.5982 GB, free: 4.809 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002251/0.8312, allocations: 0.792 MB / 0.599 GB, free: 4.328 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.8312, allocations: 9 kB / 0.599 GB, free: 4.324 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.8312, allocations: 0 / 0.599 GB, free: 4.324 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.8312, allocations: 6.828 kB / 0.599 GB, free: 4.32 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004244/0.8355, allocations: 1.518 MB / 0.6005 GB, free: 3.188 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.8355, allocations: 2.188 kB / 0.6005 GB, free: 3.188 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.8365, allocations: 151.4 kB / 0.6007 GB, free: 3.137 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001512/0.8367, allocations: 43.44 kB / 0.6007 GB, free: 3.105 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.425e-05/0.8368, allocations: 25.94 kB / 0.6007 GB, free: 3.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002115/0.8389, allocations: 2.53 MB / 0.6032 GB, free: 484 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.8389, allocations: 6.156 kB / 0.6032 GB, free: 480 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002706/0.8416, allocations: 1.075 MB / 0.6042 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.8417, allocations: 30.39 kB / 0.6043 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.332e-05/0.8418, allocations: 8.906 kB / 0.6043 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008125/0.8426, allocations: 40.34 kB / 0.6043 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.288e-05/0.8427, allocations: 51 kB / 0.6044 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.45e-05/0.8427, allocations: 36.44 kB / 0.6044 GB, free: 15.68 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000122/0.8429, allocations: 125.6 kB / 0.6045 GB, free: 15.58 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8429, allocations: 0 / 0.6045 GB, free: 15.58 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001496/0.8444, allocations: 395.3 kB / 0.6049 GB, free: 15.5 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.00251/0.8469, allocations: 0.8625 MB / 0.6057 GB, free: 15.07 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002101/0.849, allocations: 0.6412 MB / 0.6064 GB, free: 14.77 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.849, allocations: 2.281 kB / 0.6064 GB, free: 14.77 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.8501, allocations: 0.5211 MB / 0.6069 GB, free: 14.39 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007617/0.8509, allocations: 98.69 kB / 0.607 GB, free: 14.34 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.8531, allocations: 1.059 MB / 0.608 GB, free: 13.37 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/0.8536, allocations: 0.7852 MB / 0.6088 GB, free: 12.55 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004555/0.8541, allocations: 75.38 kB / 0.6088 GB, free: 12.48 MB / 478.1 MB Notification: Performance of SimCode: time 9.11e-07/0.8541, allocations: 0 / 0.6088 GB, free: 12.48 MB / 478.1 MB Notification: Performance of Templates: time 0.02554/0.8796, allocations: 14.82 MB / 0.6233 GB, free: 13.66 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 11.320835799910128]