Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001684/0.001684, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001708/0.001708, allocations: 208.2 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.119/2.119, allocations: 230.6 MB / 258.2 MB, free: 7.809 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+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_4.1.0_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_Modelica.Media.Examples.MixtureGases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 47.92 kB / 379 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3926, allocations: 53.36 MB / 432.3 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.6076/1, allocations: 134.2 MB / 0.5532 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004549/1.005, allocations: 3.612 MB / 0.5567 GB, free: 15.87 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/1.005, allocations: 4 kB / 0.5567 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004751/1.005, allocations: 85.39 kB / 0.5568 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00335/1.009, allocations: 1.225 MB / 0.558 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/1.01, allocations: 402.6 kB / 0.5584 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005881/1.011, allocations: 466.1 kB / 0.5588 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.115e-05/1.011, allocations: 7.75 kB / 0.5588 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004339/1.011, allocations: 252.2 kB / 0.5591 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/1.011, allocations: 149.3 kB / 0.5592 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.901e-05/1.011, allocations: 16.56 kB / 0.5592 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003624/1.015, allocations: 1.849 MB / 0.561 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/1.015, allocations: 137.8 kB / 0.5612 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001829/1.015, allocations: 149.2 kB / 0.5613 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002134/1.017, allocations: 1.472 MB / 0.5628 GB, free: 15.7 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/1.017, allocations: 0 / 0.5628 GB, free: 15.7 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.413e-06/1.017, allocations: 0 / 0.5628 GB, free: 15.7 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/1.017, allocations: 3.938 kB / 0.5628 GB, free: 15.7 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.002578/1.02, allocations: 0.712 MB / 0.5635 GB, free: 15.3 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/1.02, allocations: 11.53 kB / 0.5635 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009063/1.021, allocations: 107.5 kB / 0.5636 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005448/1.021, allocations: 224.8 kB / 0.5638 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/1.021, allocations: 20.64 kB / 0.5638 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.484e-05/1.022, allocations: 28.73 kB / 0.5638 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/1.023, allocations: 0.8994 MB / 0.5647 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/1.023, allocations: 0 / 0.5647 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.808e-05/1.023, allocations: 14.77 kB / 0.5647 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-05/1.023, allocations: 22.34 kB / 0.5647 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/1.025, allocations: 0.6445 MB / 0.5654 GB, free: 14.7 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.003395/1.028, allocations: 1.13 MB / 0.5665 GB, free: 14.34 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/1.029, allocations: 349.7 kB / 0.5668 GB, free: 14.28 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005573/1.03, allocations: 172 kB / 0.567 GB, free: 14.26 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002318/1.032, allocations: 488.2 kB / 0.5674 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/1.032, allocations: 38.03 kB / 0.5675 GB, free: 14.19 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.134e-06/1.032, allocations: 0 / 0.5675 GB, free: 14.19 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.01805/1.05, allocations: 3.192 MB / 0.5706 GB, free: 13.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.384e-05/1.05, allocations: 86.09 kB / 0.5707 GB, free: 13.32 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/1.05, allocations: 183.8 kB / 0.5709 GB, free: 13.21 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.811e-05/1.051, allocations: 35.05 kB / 0.5709 GB, free: 13.18 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/1.051, allocations: 192.1 kB / 0.5711 GB, free: 13.02 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/1.051, allocations: 177.4 kB / 0.5712 GB, free: 12.9 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002641/1.051, allocations: 122.4 kB / 0.5714 GB, free: 12.88 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/1.051, allocations: 342.7 kB / 0.5717 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000866/1.052, allocations: 264.8 kB / 0.5719 GB, free: 12.56 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/1.053, allocations: 425.9 kB / 0.5723 GB, free: 12.38 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001932/1.055, allocations: 0.6938 MB / 0.573 GB, free: 12.19 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/1.055, allocations: 2.156 kB / 0.573 GB, free: 12.19 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002361/1.057, allocations: 0.7854 MB / 0.5738 GB, free: 12.11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/1.057, allocations: 8.562 kB / 0.5738 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/1.058, allocations: 5.531 kB / 0.5738 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002392/1.058, allocations: 53.72 kB / 0.5739 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/1.059, allocations: 182.6 kB / 0.574 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/1.06, allocations: 1.081 MB / 0.5751 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009389/1.061, allocations: 41.25 kB / 0.5751 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.152e-05/1.061, allocations: 38.89 kB / 0.5752 GB, free: 11.05 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.000316/1.062, allocations: 179.7 kB / 0.5753 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/1.062, allocations: 25.98 kB / 0.5754 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002529/1.064, allocations: 0.7927 MB / 0.5761 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/1.064, allocations: 6.062 kB / 0.5761 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/1.064, allocations: 3.406 kB / 0.5761 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/1.064, allocations: 2.578 kB / 0.5761 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01353/1.078, allocations: 1.407 MB / 0.5775 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.078, allocations: 3.562 kB / 0.5775 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/1.079, allocations: 151.8 kB / 0.5777 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001645/1.079, allocations: 42.28 kB / 0.5777 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.997e-05/1.079, allocations: 23.28 kB / 0.5777 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002232/1.082, allocations: 2.481 MB / 0.5801 GB, free: 7.871 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.082, allocations: 6.656 kB / 0.5802 GB, free: 7.867 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00315/1.085, allocations: 1.072 MB / 0.5812 GB, free: 7.555 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.958e-05/1.085, allocations: 26.58 kB / 0.5812 GB, free: 7.539 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/1.085, allocations: 16.5 kB / 0.5812 GB, free: 7.539 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01017/1.095, allocations: 40.58 kB / 0.5813 GB, free: 7.535 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.285e-05/1.095, allocations: 51.53 kB / 0.5813 GB, free: 7.527 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.807e-05/1.095, allocations: 37.66 kB / 0.5814 GB, free: 7.523 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001249/1.095, allocations: 126 kB / 0.5815 GB, free: 7.445 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/1.095, allocations: 1.094 kB / 0.5815 GB, free: 7.445 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001739/1.097, allocations: 389.2 kB / 0.5819 GB, free: 7.398 MB / 462.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.002756/1.1, allocations: 0.8722 MB / 0.5827 GB, free: 7.164 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002187/1.102, allocations: 0.6381 MB / 0.5833 GB, free: 7.141 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/1.102, allocations: 2.688 kB / 0.5833 GB, free: 7.141 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001264/1.103, allocations: 0.5202 MB / 0.5838 GB, free: 6.914 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009869/1.104, allocations: 103 kB / 0.5839 GB, free: 6.902 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/1.116, allocations: 1 MB / 0.5849 GB, free: 6.375 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/1.117, allocations: 184.4 kB / 0.5851 GB, free: 6.285 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001126/1.118, allocations: 184.6 kB / 0.5853 GB, free: 6.195 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003981/1.118, allocations: 64.45 kB / 0.5853 GB, free: 6.184 MB / 462.1 MB Notification: Performance of SimCode: time 1.182e-06/1.118, allocations: 1.094 kB / 0.5853 GB, free: 6.184 MB / 462.1 MB Notification: Performance of Templates: time 0.06197/1.18, allocations: 17.08 MB / 0.602 GB, free: 13.43 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_4.1.0_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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: 9.285771070004557]