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.001798/0.001798, allocations: 114.3 kB / 21.18 MB, free: 0.6289 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.002098/0.002098, allocations: 210.3 kB / 24.48 MB, free: 4.035 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.432/1.432, allocations: 230.4 MB / 258.1 MB, free: 8.156 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.002019/0.002019, allocations: 67.83 kB / 378.7 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2045, allocations: 53.32 MB / 432 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3551/0.5596, allocations: 155.9 MB / 0.5742 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003263/0.5629, allocations: 4.059 MB / 0.5781 GB, free: 12.67 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.62e-05/0.5629, allocations: 0 / 0.5781 GB, free: 12.67 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000371/0.5633, allocations: 104.4 kB / 0.5782 GB, free: 12.65 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001934/0.5653, allocations: 1.184 MB / 0.5794 GB, free: 12.39 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007648/0.566, allocations: 391.6 kB / 0.5798 GB, free: 12.33 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004481/0.5665, allocations: 458.3 kB / 0.5802 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.451e-05/0.5665, allocations: 8.703 kB / 0.5802 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003291/0.5668, allocations: 260.2 kB / 0.5805 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.567, allocations: 149.1 kB / 0.5806 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.433e-05/0.5671, allocations: 16.84 kB / 0.5806 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002831/0.5699, allocations: 2.173 MB / 0.5827 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.57, allocations: 138.9 kB / 0.5829 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.5701, allocations: 167.7 kB / 0.583 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001638/0.5718, allocations: 1.547 MB / 0.5845 GB, free: 11.54 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.5718, allocations: 0 / 0.5845 GB, free: 11.54 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.5718, allocations: 0 / 0.5845 GB, free: 11.54 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.5718, allocations: 0 / 0.5845 GB, free: 11.54 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.002145/0.5739, allocations: 0.7849 MB / 0.5853 GB, free: 10.95 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.574, allocations: 10.19 kB / 0.5853 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007447/0.5747, allocations: 108.9 kB / 0.5854 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004578/0.5752, allocations: 284.6 kB / 0.5857 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.5752, allocations: 18.34 kB / 0.5857 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.367e-05/0.5753, allocations: 28.16 kB / 0.5857 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.5763, allocations: 0.5912 MB / 0.5863 GB, free: 10.47 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.5763, allocations: 2.094 kB / 0.5863 GB, free: 10.47 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.839e-05/0.5764, allocations: 16.72 kB / 0.5863 GB, free: 10.47 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.613e-05/0.5764, allocations: 18.84 kB / 0.5864 GB, free: 10.47 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.5776, allocations: 0.6445 MB / 0.587 GB, free: 10.35 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.002907/0.5805, allocations: 1.269 MB / 0.5882 GB, free: 9.695 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009584/0.5815, allocations: 352.6 kB / 0.5886 GB, free: 9.578 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004616/0.5819, allocations: 173.2 kB / 0.5887 GB, free: 9.527 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002543/0.5845, allocations: 1.365 MB / 0.5901 GB, free: 8.27 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.5845, allocations: 40.59 kB / 0.5901 GB, free: 8.227 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 1.643e-06/0.5845, allocations: 0 / 0.5901 GB, free: 8.227 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.01562/0.6001, allocations: 3.499 MB / 0.5935 GB, free: 6.48 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.6002, allocations: 92.59 kB / 0.5936 GB, free: 6.379 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.6003, allocations: 181.2 kB / 0.5938 GB, free: 6.254 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.929e-05/0.6004, allocations: 38.7 kB / 0.5938 GB, free: 6.219 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.6005, allocations: 180.2 kB / 0.594 GB, free: 6.062 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.6007, allocations: 181 kB / 0.5942 GB, free: 5.934 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/0.6009, allocations: 120.3 kB / 0.5943 GB, free: 5.891 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.601, allocations: 340 kB / 0.5946 GB, free: 5.566 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007516/0.6018, allocations: 263.8 kB / 0.5948 GB, free: 5.516 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008773/0.6027, allocations: 426.4 kB / 0.5953 GB, free: 5.277 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/0.6043, allocations: 0.7002 MB / 0.5959 GB, free: 5.004 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.6043, allocations: 0 / 0.5959 GB, free: 5.004 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001952/0.6062, allocations: 0.7876 MB / 0.5967 GB, free: 4.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.6062, allocations: 7.844 kB / 0.5967 GB, free: 4.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.6062, allocations: 2.625 kB / 0.5967 GB, free: 4.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001981/0.6064, allocations: 55.59 kB / 0.5968 GB, free: 4.719 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.6077, allocations: 180.4 kB / 0.5969 GB, free: 4.668 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007554/0.6084, allocations: 1.074 MB / 0.598 GB, free: 3.594 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008261/0.6093, allocations: 44.95 kB / 0.598 GB, free: 3.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.341e-05/0.6093, allocations: 39.53 kB / 0.5981 GB, free: 3.559 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.00024/0.6096, allocations: 182.7 kB / 0.5982 GB, free: 3.395 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.6097, allocations: 28.78 kB / 0.5983 GB, free: 3.379 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/0.6119, allocations: 0.7799 MB / 0.599 GB, free: 2.91 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.612, allocations: 7.984 kB / 0.599 GB, free: 2.902 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.612, allocations: 0 / 0.599 GB, free: 2.902 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.866e-05/0.612, allocations: 97.25 kB / 0.5991 GB, free: 2.797 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.99e-05/0.6121, allocations: 11.8 kB / 0.5991 GB, free: 2.789 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008584/0.613, allocations: 40.3 kB / 0.5992 GB, free: 2.77 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.613, allocations: 37.06 kB / 0.5992 GB, free: 2.75 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002948/0.616, allocations: 0.8083 MB / 0.6 GB, free: 2.258 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002685/0.6187, allocations: 1.035 MB / 0.601 GB, free: 1.59 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007612/0.6194, allocations: 243 kB / 0.6013 GB, free: 1.465 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.494e-05/0.6195, allocations: 125.5 kB / 0.6014 GB, free: 1.367 MB / 462.1 MB Notification: Performance of Backend: time 3.41e-07/0.6195, allocations: 0 / 0.6014 GB, free: 1.367 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003966/0.6235, allocations: 1.287 MB / 0.6026 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of SimCode: time 0.001455/0.6249, allocations: 1.258 MB / 0.6039 GB, free: 15.72 MB / 478.1 MB Notification: Performance of Templates: time 0.02841/0.6534, allocations: 19.12 MB / 0.6225 GB, free: 13.62 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 5.51175051368773]