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.0009585/0.0009585, allocations: 83.67 kB / 21.7 MB, free: 2.848 MB / 18.57 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.00092/0.00092, allocations: 165.6 kB / 24.99 MB, free: 9.23 MB / 18.57 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 0.9346/0.9346, allocations: 177 MB / 205.2 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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.513e-06/1.513e-06, allocations: 0 / 273 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.615e-05, allocations: 5.266 kB / 273 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2291/0.2291, allocations: 148.2 MB / 421.2 MB, free: 13.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003208/0.2324, allocations: 4.05 MB / 425.2 MB, free: 9.527 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.2325, allocations: 7.938 kB / 425.2 MB, free: 9.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000389/0.2329, allocations: 95.41 kB / 425.3 MB, free: 9.426 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002056/0.2349, allocations: 1.237 MB / 426.6 MB, free: 8.184 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009561/0.2359, allocations: 406.4 kB / 427 MB, free: 7.785 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004901/0.2364, allocations: 466.7 kB / 427.4 MB, free: 7.328 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.171e-05/0.2364, allocations: 18.28 kB / 427.4 MB, free: 7.309 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004094/0.2368, allocations: 299 kB / 427.7 MB, free: 7.016 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.237, allocations: 135.6 kB / 427.9 MB, free: 6.883 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.237, allocations: 12 kB / 427.9 MB, free: 6.871 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002512/0.2395, allocations: 1.853 MB / 429.7 MB, free: 5.012 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.2397, allocations: 147.7 kB / 429.9 MB, free: 4.867 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.2398, allocations: 127.8 kB / 430 MB, free: 4.742 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001936/0.2417, allocations: 1.554 MB / 431.6 MB, free: 3.184 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2417, allocations: 0 / 431.6 MB, free: 3.184 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2417, allocations: 0 / 431.6 MB, free: 3.184 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.2417, allocations: 0 / 431.6 MB, free: 3.184 MB / 378.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.001371/0.2431, allocations: 0.7812 MB / 432.3 MB, free: 2.367 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.2432, allocations: 15.98 kB / 432.4 MB, free: 2.352 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005801/0.2437, allocations: 156.5 kB / 432.5 MB, free: 2.199 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.244, allocations: 220.4 kB / 432.7 MB, free: 1.957 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.244, allocations: 28.58 kB / 432.7 MB, free: 1.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.036e-05/0.2441, allocations: 32 kB / 432.8 MB, free: 1.898 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006047/0.2447, allocations: 0.7015 MB / 433.5 MB, free: 1.105 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.2447, allocations: 0 / 433.5 MB, free: 1.105 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/0.2448, allocations: 12 kB / 433.5 MB, free: 1.094 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.459e-05/0.2448, allocations: 24.48 kB / 433.5 MB, free: 1.066 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003648/0.2452, allocations: 278.8 kB / 433.8 MB, free: 0.7969 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.1023/0.3475, allocations: 1.108 MB / 434.9 MB, free: 140.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004065/0.3479, allocations: 280.2 kB / 435.2 MB, free: 140 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.348, allocations: 118.1 kB / 435.3 MB, free: 140 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/0.3492, allocations: 480.1 kB / 435.8 MB, free: 140 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.3492, allocations: 43.33 kB / 435.8 MB, free: 139.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 2.805e-06/0.3492, allocations: 0 / 435.8 MB, free: 139.9 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.00688/0.3561, allocations: 2.653 MB / 438.4 MB, free: 139.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.3561, allocations: 86.81 kB / 438.5 MB, free: 139 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.3562, allocations: 242.7 kB / 438.8 MB, free: 138.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/0.3563, allocations: 31.86 kB / 438.8 MB, free: 138.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.3563, allocations: 234.7 kB / 439 MB, free: 138.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.3564, allocations: 188.2 kB / 439.2 MB, free: 138.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.3566, allocations: 126.3 kB / 439.3 MB, free: 138.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.78e-05/0.3566, allocations: 0.5087 MB / 439.8 MB, free: 137.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/0.3569, allocations: 174.9 kB / 440 MB, free: 137.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/0.3572, allocations: 402.6 kB / 440.4 MB, free: 137.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006288/0.3579, allocations: 0.5932 MB / 441 MB, free: 137.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3579, allocations: 6.312 kB / 441 MB, free: 137.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00101/0.3589, allocations: 0.64 MB / 441.7 MB, free: 137 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.3589, allocations: 8.125 kB / 441.7 MB, free: 137 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.3589, allocations: 8.156 kB / 441.7 MB, free: 137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001637/0.3591, allocations: 58.72 kB / 441.7 MB, free: 137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005673/0.3596, allocations: 172.8 kB / 441.9 MB, free: 136.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003403/0.36, allocations: 1.604 MB / 443.5 MB, free: 135.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003408/0.3603, allocations: 29.59 kB / 443.5 MB, free: 135.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.408e-05/0.3604, allocations: 37.08 kB / 443.6 MB, free: 135.3 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.0001435/0.3605, allocations: 200.1 kB / 443.8 MB, free: 135.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.3606, allocations: 39.42 kB / 443.8 MB, free: 135.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009598/0.3616, allocations: 0.6477 MB / 444.4 MB, free: 134.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3616, allocations: 5.312 kB / 444.4 MB, free: 134.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3616, allocations: 4.719 kB / 444.5 MB, free: 134.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.3616, allocations: 2.953 kB / 444.5 MB, free: 134.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/0.3631, allocations: 1.361 MB / 445.8 MB, free: 134.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3631, allocations: 3.547 kB / 445.8 MB, free: 134.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000488/0.3636, allocations: 136.8 kB / 446 MB, free: 134.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.731e-05/0.3637, allocations: 48.19 kB / 446 MB, free: 134 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.382e-05/0.3637, allocations: 24.98 kB / 446 MB, free: 134 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007744/0.3645, allocations: 3.45 MB / 449.5 MB, free: 130.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3645, allocations: 2.5 kB / 449.5 MB, free: 130.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.3655, allocations: 1.033 MB / 450.5 MB, free: 129.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.44e-05/0.3656, allocations: 29.78 kB / 450.5 MB, free: 129.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.376e-05/0.3656, allocations: 13.5 kB / 450.6 MB, free: 129.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.366, allocations: 28.22 kB / 450.6 MB, free: 129.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/0.366, allocations: 45.66 kB / 450.6 MB, free: 129.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.946e-05/0.3661, allocations: 35.38 kB / 450.7 MB, free: 129.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.007e-05/0.3661, allocations: 158.7 kB / 450.8 MB, free: 129.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3661, allocations: 0 / 450.8 MB, free: 129.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001029/0.3671, allocations: 394.9 kB / 451.2 MB, free: 129.7 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.001626/0.3688, allocations: 0.8898 MB / 452.1 MB, free: 129.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006804/0.3694, allocations: 0.5224 MB / 452.6 MB, free: 129.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3694, allocations: 0 / 452.6 MB, free: 129.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004015/0.3698, allocations: 0.6068 MB / 453.2 MB, free: 129 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004792/0.3703, allocations: 122.8 kB / 453.3 MB, free: 128.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.3715, allocations: 0.8128 MB / 454.2 MB, free: 128.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.55e-05/0.3716, allocations: 113.4 kB / 454.3 MB, free: 128.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000482/0.372, allocations: 178.6 kB / 454.4 MB, free: 128 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.3722, allocations: 65.86 kB / 454.5 MB, free: 127.9 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/0.3722, allocations: 0 / 454.5 MB, free: 127.9 MB / 378.7 MB Notification: Performance of Templates: time 0.014/0.3862, allocations: 16.7 MB / 471.2 MB, free: 111.4 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.452185489004478]