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.001683/0.001683, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002112/0.002112, allocations: 212.1 kB / 23.73 MB, free: 4.387 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 1.451/1.451, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.001752/0.001752, allocations: 43.92 kB / 378.2 MB, free: 2.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2426, allocations: 53.38 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.379/0.6216, allocations: 134.2 MB / 0.5525 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003763/0.6253, allocations: 3.612 MB / 0.556 GB, free: 15.87 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.6255, allocations: 1.375 kB / 0.556 GB, free: 15.87 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004261/0.6259, allocations: 96.88 kB / 0.5561 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002871/0.6288, allocations: 1.215 MB / 0.5573 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009869/0.6298, allocations: 395.2 kB / 0.5577 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005083/0.6303, allocations: 461.7 kB / 0.5581 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.901e-05/0.6304, allocations: 19.5 kB / 0.5581 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004708/0.6308, allocations: 259.3 kB / 0.5584 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002345/0.6311, allocations: 142.8 kB / 0.5585 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.658e-05/0.6311, allocations: 13.84 kB / 0.5585 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003415/0.6345, allocations: 1.828 MB / 0.5603 GB, free: 15.76 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.6347, allocations: 136 kB / 0.5604 GB, free: 15.76 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002167/0.6349, allocations: 151.2 kB / 0.5606 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002362/0.6372, allocations: 1.476 MB / 0.562 GB, free: 15.7 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.6372, allocations: 0 / 0.562 GB, free: 15.7 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.6372, allocations: 0 / 0.562 GB, free: 15.7 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.6373, allocations: 1.203 kB / 0.562 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.002212/0.6395, allocations: 0.7045 MB / 0.5627 GB, free: 15.3 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.6395, allocations: 15.16 kB / 0.5627 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007266/0.6402, allocations: 103.8 kB / 0.5628 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004953/0.6407, allocations: 226.3 kB / 0.563 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.6407, allocations: 22.41 kB / 0.563 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.657e-05/0.6408, allocations: 23.12 kB / 0.5631 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.642, allocations: 0.9036 MB / 0.564 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.642, allocations: 2.344 kB / 0.564 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-05/0.6421, allocations: 15.5 kB / 0.564 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.757e-05/0.6421, allocations: 19.45 kB / 0.564 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.6433, allocations: 0.6479 MB / 0.5646 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.002812/0.6461, allocations: 1.124 MB / 0.5657 GB, free: 14.34 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009348/0.647, allocations: 353.7 kB / 0.5661 GB, free: 14.28 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000436/0.6475, allocations: 172.1 kB / 0.5662 GB, free: 14.26 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00197/0.6494, allocations: 481.1 kB / 0.5667 GB, free: 14.24 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.6495, allocations: 40.44 kB / 0.5667 GB, free: 14.2 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.174e-06/0.6495, allocations: 0 / 0.5667 GB, free: 14.2 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.01487/0.6643, allocations: 3.203 MB / 0.5698 GB, free: 13.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.6644, allocations: 88.53 kB / 0.5699 GB, free: 13.32 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.6646, allocations: 178.8 kB / 0.5701 GB, free: 13.21 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.985e-05/0.6646, allocations: 34.61 kB / 0.5701 GB, free: 13.18 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.6647, allocations: 195.2 kB / 0.5703 GB, free: 13.02 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.6649, allocations: 180 kB / 0.5705 GB, free: 12.9 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.6651, allocations: 114.3 kB / 0.5706 GB, free: 12.88 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.6652, allocations: 341.9 kB / 0.5709 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007036/0.6659, allocations: 264.8 kB / 0.5712 GB, free: 12.56 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008343/0.6668, allocations: 427.8 kB / 0.5716 GB, free: 12.38 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/0.6684, allocations: 0.6924 MB / 0.5723 GB, free: 12.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.6684, allocations: 4.562 kB / 0.5723 GB, free: 12.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001854/0.6702, allocations: 0.7849 MB / 0.573 GB, free: 12.11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.6702, allocations: 7.625 kB / 0.573 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.6702, allocations: 8.812 kB / 0.573 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001928/0.6704, allocations: 51.17 kB / 0.5731 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.6716, allocations: 179 kB / 0.5733 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007661/0.6723, allocations: 1.081 MB / 0.5743 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007894/0.6731, allocations: 42.98 kB / 0.5744 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-05/0.6732, allocations: 35.98 kB / 0.5744 GB, free: 11.06 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.0002624/0.6735, allocations: 178.9 kB / 0.5746 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.6736, allocations: 27.08 kB / 0.5746 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002136/0.6757, allocations: 0.7936 MB / 0.5754 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.6757, allocations: 5.156 kB / 0.5754 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.6757, allocations: 2.438 kB / 0.5754 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.6757, allocations: 1.922 kB / 0.5754 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003127/0.6789, allocations: 1.407 MB / 0.5768 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.6789, allocations: 2.719 kB / 0.5768 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.6799, allocations: 142.8 kB / 0.5769 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001205/0.6801, allocations: 56.34 kB / 0.5769 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.026e-05/0.6801, allocations: 21.16 kB / 0.577 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/0.682, allocations: 2.48 MB / 0.5794 GB, free: 7.875 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/0.682, allocations: 6.281 kB / 0.5794 GB, free: 7.871 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/0.6845, allocations: 1.075 MB / 0.5804 GB, free: 7.559 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.315e-05/0.6846, allocations: 24.14 kB / 0.5805 GB, free: 7.543 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.35e-05/0.6847, allocations: 14.84 kB / 0.5805 GB, free: 7.543 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008258/0.6855, allocations: 38.25 kB / 0.5805 GB, free: 7.543 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.579e-05/0.6855, allocations: 47.53 kB / 0.5806 GB, free: 7.539 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.679e-05/0.6856, allocations: 31.17 kB / 0.5806 GB, free: 7.539 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.694e-05/0.6857, allocations: 136.8 kB / 0.5807 GB, free: 7.457 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6857, allocations: 0 / 0.5807 GB, free: 7.457 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00131/0.687, allocations: 389.2 kB / 0.5811 GB, free: 7.41 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.002379/0.6894, allocations: 0.8708 MB / 0.5819 GB, free: 7.172 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001794/0.6912, allocations: 0.635 MB / 0.5826 GB, free: 7.152 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.6912, allocations: 1.203 kB / 0.5826 GB, free: 7.152 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.6923, allocations: 0.5282 MB / 0.5831 GB, free: 6.926 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007559/0.693, allocations: 100.2 kB / 0.5832 GB, free: 6.91 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.6951, allocations: 1.014 MB / 0.5842 GB, free: 6.379 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.6953, allocations: 175.9 kB / 0.5843 GB, free: 6.297 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000839/0.6961, allocations: 180.5 kB / 0.5845 GB, free: 6.211 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003102/0.6964, allocations: 63.16 kB / 0.5846 GB, free: 6.199 MB / 462.1 MB Notification: Performance of SimCode: time 6.01e-07/0.6964, allocations: 3.125 kB / 0.5846 GB, free: 6.199 MB / 462.1 MB Notification: Performance of Templates: time 0.02593/0.7224, allocations: 16.92 MB / 0.6011 GB, free: 13.54 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins/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: 5.8846118319779634]