Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MixtureGases") translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.0013, allocations: 177.1 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 221.5 MB / 230.3 MB, free: 7.523 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001039, allocations: 96.16 kB / 281.2 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.75e-05/1.754e-05, allocations: 8 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1238, allocations: 50.42 MB / 387.4 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.993/2.117, allocations: 0.7061 GB / 1.084 GB, free: 160.6 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/2.117, allocations: 68.97 kB / 1.085 GB, free: 160.6 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2041/2.321, allocations: 107.9 MB / 1.19 GB, free: 52.61 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.984e-06/2.321, allocations: 0 / 1.19 GB, free: 52.61 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.31e-05/2.321, allocations: 4 kB / 1.19 GB, free: 52.61 MB / 442.7 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.002267/2.323, allocations: 0.7557 MB / 1.191 GB, free: 51.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/2.323, allocations: 15.91 kB / 1.191 GB, free: 51.79 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/2.325, allocations: 255.9 kB / 1.191 GB, free: 51.54 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/2.325, allocations: 286.6 kB / 1.191 GB, free: 51.22 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/2.326, allocations: 8 kB / 1.191 GB, free: 51.21 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.383e-05/2.326, allocations: 16 kB / 1.191 GB, free: 51.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007505/2.326, allocations: 0.5987 MB / 1.192 GB, free: 50.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007423/2.327, allocations: 0.5822 MB / 1.192 GB, free: 50 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/2.327, allocations: 0 / 1.192 GB, free: 50 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.799e-05/2.327, allocations: 4 kB / 1.192 GB, free: 49.99 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/2.327, allocations: 12.44 kB / 1.192 GB, free: 49.98 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.003139/2.33, allocations: 1.752 MB / 1.194 GB, free: 48.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004732/2.331, allocations: 381 kB / 1.194 GB, free: 47.75 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002568/2.331, allocations: 173.7 kB / 1.195 GB, free: 47.58 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001333/2.332, allocations: 0.916 MB / 1.196 GB, free: 46.51 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/2.333, allocations: 38.56 kB / 1.196 GB, free: 46.46 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 2.134e-06/2.333, allocations: 0 / 1.196 GB, free: 46.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.006742/2.339, allocations: 2.212 MB / 1.198 GB, free: 44.08 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/2.339, allocations: 88.98 kB / 1.198 GB, free: 43.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/2.339, allocations: 150.4 kB / 1.198 GB, free: 43.82 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.307e-05/2.34, allocations: 25.7 kB / 1.198 GB, free: 43.79 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/2.34, allocations: 180.1 kB / 1.198 GB, free: 43.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/2.34, allocations: 169.5 kB / 1.198 GB, free: 43.44 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/2.34, allocations: 8 kB / 1.198 GB, free: 43.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.888e-05/2.34, allocations: 334.8 kB / 1.199 GB, free: 43.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/2.34, allocations: 197.5 kB / 1.199 GB, free: 42.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002955/2.34, allocations: 353.9 kB / 1.199 GB, free: 42.49 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003342/2.341, allocations: 238.8 kB / 1.199 GB, free: 42.26 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/2.341, allocations: 7.938 kB / 1.199 GB, free: 42.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008743/2.342, allocations: 0.6136 MB / 1.2 GB, free: 41.63 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/2.342, allocations: 11.98 kB / 1.2 GB, free: 41.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/2.342, allocations: 4 kB / 1.2 GB, free: 41.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001535/2.342, allocations: 49.64 kB / 1.2 GB, free: 41.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/2.343, allocations: 175.9 kB / 1.2 GB, free: 41.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004866/2.343, allocations: 1.085 MB / 1.201 GB, free: 40.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006635/2.344, allocations: 40.08 kB / 1.201 GB, free: 40.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-05/2.344, allocations: 35.98 kB / 1.201 GB, free: 40.18 MB / 442.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001569/2.344, allocations: 123.2 kB / 1.201 GB, free: 40.05 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.875e-05/2.344, allocations: 27.72 kB / 1.202 GB, free: 40.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/2.346, allocations: 0.6518 MB / 1.202 GB, free: 39.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/2.346, allocations: 4 kB / 1.202 GB, free: 39.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/2.346, allocations: 4 kB / 1.202 GB, free: 39.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/2.346, allocations: 0 / 1.202 GB, free: 39.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/2.348, allocations: 1.383 MB / 1.204 GB, free: 37.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/2.348, allocations: 0 / 1.204 GB, free: 37.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009518/2.349, allocations: 155.9 kB / 1.204 GB, free: 37.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001144/2.349, allocations: 37.7 kB / 1.204 GB, free: 37.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.356e-05/2.349, allocations: 19.97 kB / 1.204 GB, free: 37.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/2.35, allocations: 2.434 MB / 1.206 GB, free: 35.02 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/2.35, allocations: 4.031 kB / 1.206 GB, free: 35.01 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/2.351, allocations: 0.9838 MB / 1.207 GB, free: 33.94 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.713e-05/2.351, allocations: 100.8 kB / 1.207 GB, free: 33.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.258e-05/2.351, allocations: 4 kB / 1.207 GB, free: 33.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006903/2.352, allocations: 32 kB / 1.207 GB, free: 33.79 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.78e-05/2.352, allocations: 35.95 kB / 1.207 GB, free: 33.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-05/2.352, allocations: 39.95 kB / 1.207 GB, free: 33.71 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.342e-05/2.352, allocations: 119.2 kB / 1.207 GB, free: 33.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.41e-07/2.352, allocations: 0 / 1.207 GB, free: 33.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001601/2.354, allocations: 403.7 kB / 1.208 GB, free: 33.2 MB / 442.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002595/2.356, allocations: 1.268 MB / 1.209 GB, free: 31.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009279/2.357, allocations: 0.5115 MB / 1.209 GB, free: 31.41 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/2.357, allocations: 4 kB / 1.209 GB, free: 31.41 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004803/2.358, allocations: 467.2 kB / 1.21 GB, free: 30.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006075/2.358, allocations: 88.23 kB / 1.21 GB, free: 30.85 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/2.36, allocations: 0.7196 MB / 1.211 GB, free: 30.08 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/2.36, allocations: 0.7893 MB / 1.212 GB, free: 29.27 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001108/2.361, allocations: 183.1 kB / 1.212 GB, free: 29.09 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003045/2.361, allocations: 67.38 kB / 1.212 GB, free: 29.02 MB / 442.7 MB Notification: Performance of SimCode: time 1.122e-06/2.361, allocations: 0 / 1.212 GB, free: 29.02 MB / 442.7 MB Notification: Performance of Templates: time 0.0228/2.384, allocations: 17.56 MB / 1.229 GB, free: 11.49 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches