Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001812/0.001812, allocations: 88.44 kB / 20.68 MB, free: 1.02 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.00144/0.00144, allocations: 162.1 kB / 23.96 MB, free: 4.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Media.Examples.MixtureGases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.76e-05/1.871e-05, allocations: 3.438 kB / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.174/0.1741, allocations: 134.2 MB / 459.2 MB, free: 14.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005239/0.1793, allocations: 3.609 MB / 462.8 MB, free: 10.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000193/0.1795, allocations: 0 / 462.8 MB, free: 10.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005/0.18, allocations: 95.38 kB / 462.9 MB, free: 10.67 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003406/0.1834, allocations: 1.236 MB / 464.1 MB, free: 9.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.1847, allocations: 405.8 kB / 464.5 MB, free: 9.035 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008554/0.1856, allocations: 478.5 kB / 465 MB, free: 8.566 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.131e-05/0.1856, allocations: 9.812 kB / 465 MB, free: 8.559 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007659/0.1864, allocations: 303 kB / 465.3 MB, free: 8.262 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000297/0.1867, allocations: 135.6 kB / 465.4 MB, free: 8.129 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.081e-05/0.1868, allocations: 16 kB / 465.5 MB, free: 8.113 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004263/0.191, allocations: 1.841 MB / 467.3 MB, free: 6.266 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.1912, allocations: 155.6 kB / 467.4 MB, free: 6.113 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002389/0.1915, allocations: 127.7 kB / 467.6 MB, free: 5.988 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003206/0.1947, allocations: 1.613 MB / 469.2 MB, free: 4.371 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1947, allocations: 0 / 469.2 MB, free: 4.371 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.582e-06/0.1947, allocations: 0 / 469.2 MB, free: 4.371 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.1947, allocations: 3.938 kB / 469.2 MB, free: 4.367 MB / 430.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.002492/0.1972, allocations: 0.7037 MB / 469.9 MB, free: 3.633 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.1973, allocations: 19.97 kB / 469.9 MB, free: 3.613 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008371/0.1981, allocations: 104.7 kB / 470 MB, free: 3.512 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004641/0.1986, allocations: 217.2 kB / 470.2 MB, free: 3.273 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.1986, allocations: 28.53 kB / 470.3 MB, free: 3.246 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.116e-05/0.1987, allocations: 27.98 kB / 470.3 MB, free: 3.219 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.2002, allocations: 0.9061 MB / 471.2 MB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.2003, allocations: 4 kB / 471.2 MB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.006e-05/0.2003, allocations: 12 kB / 471.2 MB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-05/0.2004, allocations: 20.44 kB / 471.2 MB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.2018, allocations: 0.6459 MB / 471.9 MB, free: 1.547 MB / 430.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.003187/0.205, allocations: 1.136 MB / 473 MB, free: 380 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.2061, allocations: 352.8 kB / 473.3 MB, free: 8 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1573/0.3634, allocations: 168.5 kB / 473.5 MB, free: 144.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002321/0.3658, allocations: 473 kB / 474 MB, free: 144.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.3658, allocations: 36.78 kB / 474 MB, free: 144.1 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.174e-06/0.3658, allocations: 0 / 474 MB, free: 144.1 MB / 430.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.01634/0.3821, allocations: 3.221 MB / 477.2 MB, free: 143 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.3822, allocations: 83.3 kB / 477.3 MB, free: 142.9 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.3823, allocations: 185.4 kB / 477.5 MB, free: 142.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.484e-05/0.3824, allocations: 36.3 kB / 477.5 MB, free: 142.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.906e-05/0.3824, allocations: 176.8 kB / 477.7 MB, free: 142.6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.3826, allocations: 181.6 kB / 477.9 MB, free: 142.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.3828, allocations: 115.3 kB / 478 MB, free: 142.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.768e-05/0.3828, allocations: 343.3 kB / 478.3 MB, free: 142.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008633/0.3837, allocations: 266 kB / 478.6 MB, free: 142 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000896/0.3846, allocations: 426.4 kB / 479 MB, free: 141.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001721/0.3863, allocations: 0.7001 MB / 479.7 MB, free: 141.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.3863, allocations: 2.125 kB / 479.7 MB, free: 141.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002152/0.3885, allocations: 0.7834 MB / 480.5 MB, free: 141 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.3885, allocations: 11.09 kB / 480.5 MB, free: 141 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.3885, allocations: 5.688 kB / 480.5 MB, free: 141 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000237/0.3887, allocations: 54.86 kB / 480.6 MB, free: 141 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.39, allocations: 182.6 kB / 480.7 MB, free: 141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004427/0.3904, allocations: 1.079 MB / 481.8 MB, free: 139.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008336/0.3913, allocations: 41.8 kB / 481.9 MB, free: 139.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.3e-05/0.3914, allocations: 39.62 kB / 481.9 MB, free: 139.9 MB / 430.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.0002485/0.3916, allocations: 176.5 kB / 482.1 MB, free: 139.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.3917, allocations: 33.55 kB / 482.1 MB, free: 139.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002256/0.394, allocations: 0.7763 MB / 482.9 MB, free: 139.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.394, allocations: 6 kB / 482.9 MB, free: 139.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.394, allocations: 1.031 kB / 482.9 MB, free: 139.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.394, allocations: 4.812 kB / 482.9 MB, free: 139.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003084/0.3971, allocations: 1.415 MB / 484.3 MB, free: 138.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3971, allocations: 2.25 kB / 484.3 MB, free: 138.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/0.3983, allocations: 148.7 kB / 484.4 MB, free: 138.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001206/0.3984, allocations: 41.44 kB / 484.5 MB, free: 138.4 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.686e-05/0.3985, allocations: 21.86 kB / 484.5 MB, free: 138.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/0.3996, allocations: 2.483 MB / 487 MB, free: 135.9 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3996, allocations: 1.25 kB / 487 MB, free: 135.9 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002637/0.4022, allocations: 1.069 MB / 488.1 MB, free: 135.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.191e-05/0.4023, allocations: 28.94 kB / 488.1 MB, free: 135.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.151e-05/0.4024, allocations: 9 kB / 488.1 MB, free: 135.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008461/0.4032, allocations: 44.12 kB / 488.1 MB, free: 135.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/0.4033, allocations: 44.48 kB / 488.2 MB, free: 135.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.593e-05/0.4034, allocations: 35.5 kB / 488.2 MB, free: 135.1 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.082e-05/0.4034, allocations: 120.6 kB / 488.3 MB, free: 135.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4034, allocations: 0 / 488.3 MB, free: 135.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001379/0.4048, allocations: 399 kB / 488.7 MB, free: 135 MB / 430.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.002325/0.4071, allocations: 0.8928 MB / 489.6 MB, free: 134.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001899/0.409, allocations: 0.6337 MB / 490.3 MB, free: 134.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.409, allocations: 1.062 kB / 490.3 MB, free: 134.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.4101, allocations: 0.5227 MB / 490.8 MB, free: 133.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007849/0.4109, allocations: 104.9 kB / 490.9 MB, free: 133.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.4126, allocations: 0.8809 MB / 491.8 MB, free: 133.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.4127, allocations: 179.1 kB / 491.9 MB, free: 133.1 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000748/0.4135, allocations: 189 kB / 492.1 MB, free: 133 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003173/0.4138, allocations: 63.08 kB / 492.2 MB, free: 132.9 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4138, allocations: 0 / 492.2 MB, free: 132.9 MB / 430.1 MB Notification: Performance of Templates: time 0.0199/0.4337, allocations: 16.44 MB / 0.4967 GB, free: 116.9 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_trunk_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.6865744814276695]