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.001457/0.001457, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001591/0.001591, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.493/1.493, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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 2.344e-06/2.344e-06, allocations: 0 / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.617e-05/3.851e-05, allocations: 2.312 kB / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3354/0.3355, allocations: 134.2 MB / 406.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005558/0.341, allocations: 3.605 MB / 410.1 MB, free: 7.383 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.3412, allocations: 4 kB / 410.1 MB, free: 7.379 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004429/0.3416, allocations: 99.34 kB / 410.2 MB, free: 7.281 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003178/0.3448, allocations: 1.237 MB / 411.4 MB, free: 6.039 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.3459, allocations: 402.5 kB / 411.8 MB, free: 5.645 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007021/0.3466, allocations: 466.7 kB / 412.3 MB, free: 5.188 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.985e-05/0.3467, allocations: 10.34 kB / 412.3 MB, free: 5.176 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006731/0.3474, allocations: 307 kB / 412.6 MB, free: 4.875 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004931/0.3479, allocations: 135.6 kB / 412.7 MB, free: 4.742 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.569e-05/0.3479, allocations: 12 kB / 412.7 MB, free: 4.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003878/0.3518, allocations: 1.854 MB / 414.6 MB, free: 2.871 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001993/0.352, allocations: 147.6 kB / 414.7 MB, free: 2.727 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.3522, allocations: 131.7 kB / 414.9 MB, free: 2.598 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003008/0.3552, allocations: 1.617 MB / 416.5 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3552, allocations: 0 / 416.5 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3552, allocations: 0 / 416.5 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.3552, allocations: 0 / 416.5 MB, free: 0.9766 MB / 362.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.002501/0.3577, allocations: 0.7042 MB / 417.2 MB, free: 248 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.3578, allocations: 11.97 kB / 417.2 MB, free: 236 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009433/0.3587, allocations: 168.5 kB / 417.4 MB, free: 68 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004742/0.3592, allocations: 221.5 kB / 417.6 MB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.3592, allocations: 20.59 kB / 417.6 MB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.3593, allocations: 32 kB / 417.6 MB, free: 15.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.3608, allocations: 0.906 MB / 418.5 MB, free: 14.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.3609, allocations: 0 / 418.5 MB, free: 14.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.501e-05/0.3609, allocations: 12 kB / 418.6 MB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.592e-05/0.361, allocations: 24.48 kB / 418.6 MB, free: 14.74 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.3624, allocations: 0.6344 MB / 419.2 MB, free: 14.11 MB / 378.7 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.003426/0.3658, allocations: 1.146 MB / 420.4 MB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.3669, allocations: 345.7 kB / 420.7 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004957/0.3674, allocations: 165.6 kB / 420.9 MB, free: 12.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002188/0.3696, allocations: 492.3 kB / 421.3 MB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.3696, allocations: 34.56 kB / 421.4 MB, free: 11.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 2.215e-06/0.3696, allocations: 0 / 421.4 MB, free: 11.88 MB / 378.7 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.01667/0.3863, allocations: 3.234 MB / 424.6 MB, free: 8.523 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.186e-05/0.3864, allocations: 89.09 kB / 424.7 MB, free: 8.418 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.3866, allocations: 179.1 kB / 424.9 MB, free: 8.234 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.948e-05/0.3867, allocations: 41.7 kB / 424.9 MB, free: 8.188 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.3869, allocations: 184.6 kB / 425.1 MB, free: 8.004 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002296/0.3871, allocations: 182.4 kB / 425.3 MB, free: 7.824 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002672/0.3874, allocations: 114.3 kB / 425.4 MB, free: 7.707 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.3876, allocations: 342.8 kB / 425.7 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008685/0.3885, allocations: 265.1 kB / 426 MB, free: 7.105 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.3895, allocations: 421.5 kB / 426.4 MB, free: 6.625 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002151/0.3916, allocations: 0.7035 MB / 427.1 MB, free: 5.859 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/0.3916, allocations: 4 kB / 427.1 MB, free: 5.855 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002357/0.394, allocations: 0.8073 MB / 427.9 MB, free: 5.039 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.394, allocations: 8.625 kB / 427.9 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.394, allocations: 11.94 kB / 427.9 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000239/0.3943, allocations: 53.69 kB / 428 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.3955, allocations: 175.7 kB / 428.1 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009543/0.3964, allocations: 1.089 MB / 429.2 MB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008086/0.3972, allocations: 35.97 kB / 429.3 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.34e-05/0.3973, allocations: 39.97 kB / 429.3 MB, free: 3.574 MB / 378.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 () * 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.000323/0.3976, allocations: 181.5 kB / 429.5 MB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.3978, allocations: 43.86 kB / 429.5 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003335/0.4012, allocations: 0.7785 MB / 430.3 MB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.4012, allocations: 8 kB / 430.3 MB, free: 2.551 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.4012, allocations: 0 / 430.3 MB, free: 2.551 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.4012, allocations: 3.938 kB / 430.3 MB, free: 2.547 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005733/0.4069, allocations: 1.408 MB / 431.7 MB, free: 1.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.4069, allocations: 0 / 431.7 MB, free: 1.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00178/0.4087, allocations: 147.7 kB / 431.9 MB, free: 0.918 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002638/0.409, allocations: 45.88 kB / 431.9 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/0.4091, allocations: 23.97 kB / 431.9 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1227/0.5318, allocations: 2.478 MB / 434.4 MB, free: 136.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.5318, allocations: 3.125 kB / 434.4 MB, free: 136.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002886/0.5347, allocations: 1.092 MB / 435.5 MB, free: 136 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.281e-05/0.5348, allocations: 25.3 kB / 435.5 MB, free: 136 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.445e-05/0.5349, allocations: 20.69 kB / 435.6 MB, free: 136 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009041/0.5358, allocations: 40.45 kB / 435.6 MB, free: 136 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.5358, allocations: 42.17 kB / 435.6 MB, free: 136 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.768e-05/0.5359, allocations: 34.86 kB / 435.7 MB, free: 136 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.844e-05/0.536, allocations: 125.2 kB / 435.8 MB, free: 136 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.536, allocations: 0 / 435.8 MB, free: 136 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001308/0.5373, allocations: 399.4 kB / 436.2 MB, free: 136 MB / 378.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 () * 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.002292/0.5396, allocations: 0.8835 MB / 437.1 MB, free: 135.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002086/0.5417, allocations: 0.6301 MB / 437.7 MB, free: 135.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.5417, allocations: 0 / 437.7 MB, free: 135.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.5428, allocations: 0.5212 MB / 438.2 MB, free: 135.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008318/0.5436, allocations: 134.6 kB / 438.4 MB, free: 135.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.5454, allocations: 0.9039 MB / 439.3 MB, free: 135 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.5456, allocations: 175.4 kB / 439.4 MB, free: 134.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008227/0.5464, allocations: 184.9 kB / 439.6 MB, free: 134.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003349/0.5468, allocations: 62.89 kB / 439.7 MB, free: 134.8 MB / 378.7 MB Notification: Performance of SimCode: time 1.173e-06/0.5468, allocations: 0 / 439.7 MB, free: 134.8 MB / 378.7 MB Notification: Performance of Templates: time 0.02136/0.5681, allocations: 16.57 MB / 456.2 MB, free: 124.1 MB / 378.7 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.611978363012895]