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.001468/0.001468, allocations: 107.8 kB / 19.17 MB, free: 3.871 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.001595/0.001595, allocations: 208.9 kB / 22.13 MB, free: 0.918 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.379/1.379, allocations: 230.4 MB / 255.4 MB, free: 9.078 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.00192/0.00192, allocations: 71.83 kB / 374.7 MB, free: 4.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2379, allocations: 53.31 MB / 428 MB, free: 8.109 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.4005/0.6384, allocations: 155.9 MB / 0.5702 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00368/0.6421, allocations: 4.046 MB / 0.5742 GB, free: 12.72 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.6423, allocations: 6.25 kB / 0.5742 GB, free: 12.72 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004405/0.6427, allocations: 104 kB / 0.5743 GB, free: 12.7 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002645/0.6454, allocations: 1.183 MB / 0.5754 GB, free: 12.44 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009145/0.6463, allocations: 393 kB / 0.5758 GB, free: 12.38 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000508/0.6468, allocations: 455.8 kB / 0.5762 GB, free: 12.3 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.169e-05/0.6468, allocations: 11.81 kB / 0.5762 GB, free: 12.3 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003825/0.6472, allocations: 249.1 kB / 0.5765 GB, free: 12.27 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.6474, allocations: 153.2 kB / 0.5766 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.251e-05/0.6475, allocations: 14.97 kB / 0.5766 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00334/0.6508, allocations: 2.172 MB / 0.5788 GB, free: 12.01 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.6509, allocations: 145 kB / 0.5789 GB, free: 12.01 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.6511, allocations: 158 kB / 0.5791 GB, free: 12.01 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002232/0.6534, allocations: 1.549 MB / 0.5806 GB, free: 11.59 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6534, allocations: 0 / 0.5806 GB, free: 11.59 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6534, allocations: 2.531 kB / 0.5806 GB, free: 11.59 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.6534, allocations: 0 / 0.5806 GB, free: 11.59 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.002167/0.6555, allocations: 0.7823 MB / 0.5813 GB, free: 11 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.6556, allocations: 8 kB / 0.5813 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007241/0.6563, allocations: 108.7 kB / 0.5814 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/0.6567, allocations: 283.7 kB / 0.5817 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.6567, allocations: 21.22 kB / 0.5817 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.657e-05/0.6568, allocations: 28.8 kB / 0.5818 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.6578, allocations: 0.5932 MB / 0.5823 GB, free: 10.52 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.6579, allocations: 6.047 kB / 0.5824 GB, free: 10.52 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.612e-05/0.6579, allocations: 18.02 kB / 0.5824 GB, free: 10.51 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/0.6579, allocations: 19.38 kB / 0.5824 GB, free: 10.51 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.6591, allocations: 0.6402 MB / 0.583 GB, free: 10.39 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.002793/0.6619, allocations: 1.273 MB / 0.5843 GB, free: 9.738 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009113/0.6628, allocations: 345.5 kB / 0.5846 GB, free: 9.625 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004346/0.6633, allocations: 172.4 kB / 0.5848 GB, free: 9.574 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002408/0.6657, allocations: 1.376 MB / 0.5861 GB, free: 8.309 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.6657, allocations: 40.62 kB / 0.5861 GB, free: 8.266 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.104e-06/0.6657, allocations: 1.203 kB / 0.5861 GB, free: 8.266 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.01475/0.6804, allocations: 3.489 MB / 0.5895 GB, free: 6.531 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/0.6805, allocations: 82.17 kB / 0.5896 GB, free: 6.438 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.6807, allocations: 186.9 kB / 0.5898 GB, free: 6.309 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.056e-05/0.6807, allocations: 34.58 kB / 0.5898 GB, free: 6.277 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.6809, allocations: 190.9 kB / 0.59 GB, free: 6.109 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/0.681, allocations: 185.3 kB / 0.5902 GB, free: 5.977 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/0.6812, allocations: 115.8 kB / 0.5903 GB, free: 5.938 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.6814, allocations: 334.2 kB / 0.5906 GB, free: 5.617 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007204/0.6821, allocations: 271.6 kB / 0.5909 GB, free: 5.559 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008376/0.6829, allocations: 420.8 kB / 0.5913 GB, free: 5.32 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/0.6845, allocations: 0.6955 MB / 0.592 GB, free: 5.047 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.6845, allocations: 2.344 kB / 0.592 GB, free: 5.047 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001898/0.6864, allocations: 0.7854 MB / 0.5927 GB, free: 4.84 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.6864, allocations: 8 kB / 0.5927 GB, free: 4.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.6864, allocations: 5.062 kB / 0.5927 GB, free: 4.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00021/0.6867, allocations: 51.97 kB / 0.5928 GB, free: 4.816 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.6878, allocations: 193.4 kB / 0.593 GB, free: 4.762 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000771/0.6886, allocations: 1.069 MB / 0.594 GB, free: 3.711 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007434/0.6893, allocations: 52.92 kB / 0.5941 GB, free: 3.691 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.486e-05/0.6894, allocations: 39.77 kB / 0.5941 GB, free: 3.684 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.0002601/0.6896, allocations: 179.4 kB / 0.5943 GB, free: 3.547 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.6898, allocations: 31.59 kB / 0.5943 GB, free: 3.531 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/0.6919, allocations: 0.7763 MB / 0.5951 GB, free: 3.07 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.692, allocations: 8.594 kB / 0.5951 GB, free: 3.066 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.692, allocations: 3.062 kB / 0.5951 GB, free: 3.066 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.692, allocations: 3.984 kB / 0.5951 GB, free: 3.062 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003305/0.6953, allocations: 1.55 MB / 0.5966 GB, free: 1.895 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.6953, allocations: 3.188 kB / 0.5966 GB, free: 1.895 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001332/0.6966, allocations: 155 kB / 0.5967 GB, free: 1.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001387/0.6967, allocations: 42.91 kB / 0.5968 GB, free: 1.809 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.397e-05/0.6968, allocations: 22.67 kB / 0.5968 GB, free: 1.797 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002145/0.699, allocations: 2.731 MB / 0.5995 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.699, allocations: 4.688 kB / 0.5995 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/0.7016, allocations: 1.074 MB / 0.6005 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.409e-05/0.7017, allocations: 105.6 kB / 0.6006 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.655e-05/0.7018, allocations: 13.22 kB / 0.6006 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007985/0.7026, allocations: 39.52 kB / 0.6007 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.943e-05/0.7026, allocations: 48.62 kB / 0.6007 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-05/0.7027, allocations: 38.56 kB / 0.6008 GB, free: 14.05 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.7028, allocations: 123.2 kB / 0.6009 GB, free: 13.95 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7028, allocations: 2.969 kB / 0.6009 GB, free: 13.95 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001395/0.7042, allocations: 392.6 kB / 0.6013 GB, free: 13.87 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.002141/0.7064, allocations: 0.8612 MB / 0.6021 GB, free: 13.45 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001878/0.7082, allocations: 0.6375 MB / 0.6027 GB, free: 13.14 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.7082, allocations: 2.375 kB / 0.6027 GB, free: 13.14 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.7094, allocations: 0.5205 MB / 0.6032 GB, free: 12.77 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007514/0.7101, allocations: 105.1 kB / 0.6033 GB, free: 12.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.7122, allocations: 1.044 MB / 0.6044 GB, free: 11.96 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/0.7127, allocations: 0.7875 MB / 0.6051 GB, free: 11.14 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004375/0.7131, allocations: 75.36 kB / 0.6052 GB, free: 11.07 MB / 478.1 MB Notification: Performance of SimCode: time 8.21e-07/0.7131, allocations: 4 kB / 0.6052 GB, free: 11.06 MB / 478.1 MB Notification: Performance of Templates: time 0.02184/0.735, allocations: 14.82 MB / 0.6197 GB, free: 12.24 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: 10.450684853829443]