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.001018/0.001018, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001091/0.001091, allocations: 169.1 kB / 24.91 MB, free: 9.199 MB / 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 0.9259/0.9259, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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 1.673e-06/1.673e-06, allocations: 0 / 273.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.266e-05/1.434e-05, allocations: 2.312 kB / 273.5 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2398/0.2399, allocations: 147.9 MB / 421.4 MB, free: 13.66 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003566/0.2434, allocations: 4.072 MB / 425.4 MB, free: 9.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.2435, allocations: 4 kB / 425.4 MB, free: 9.586 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003762/0.2439, allocations: 95.36 kB / 425.5 MB, free: 9.492 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002114/0.246, allocations: 1.21 MB / 426.7 MB, free: 8.277 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000738/0.2468, allocations: 398.4 kB / 427.1 MB, free: 7.887 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004712/0.2472, allocations: 466.7 kB / 427.6 MB, free: 7.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.193e-05/0.2473, allocations: 10.45 kB / 427.6 MB, free: 7.418 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004328/0.2477, allocations: 310.9 kB / 427.9 MB, free: 7.113 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.2479, allocations: 127.6 kB / 428 MB, free: 6.988 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.332e-05/0.2479, allocations: 20 kB / 428 MB, free: 6.969 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002691/0.2506, allocations: 1.892 MB / 429.9 MB, free: 5.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.2507, allocations: 143.7 kB / 430.1 MB, free: 4.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.2509, allocations: 131.8 kB / 430.2 MB, free: 4.801 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00192/0.2528, allocations: 1.547 MB / 431.8 MB, free: 3.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2528, allocations: 8 kB / 431.8 MB, free: 3.242 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2528, allocations: 3.938 kB / 431.8 MB, free: 3.238 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.2528, allocations: 0 / 431.8 MB, free: 3.238 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.001136/0.2539, allocations: 0.6409 MB / 432.4 MB, free: 2.574 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.2539, allocations: 12.03 kB / 432.4 MB, free: 2.562 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004587/0.2544, allocations: 156.5 kB / 432.6 MB, free: 2.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.2546, allocations: 193.6 kB / 432.8 MB, free: 2.195 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.2547, allocations: 24.59 kB / 432.8 MB, free: 2.172 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.479e-05/0.2547, allocations: 39.98 kB / 432.8 MB, free: 2.133 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004738/0.2552, allocations: 0.6557 MB / 433.5 MB, free: 1.387 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.2552, allocations: 0 / 433.5 MB, free: 1.387 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.436e-05/0.2552, allocations: 12 kB / 433.5 MB, free: 1.375 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.2553, allocations: 20.48 kB / 433.5 MB, free: 1.352 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002312/0.2555, allocations: 193 kB / 433.7 MB, free: 1.164 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.001285/0.2568, allocations: 0.8635 MB / 434.6 MB, free: 280 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.257, allocations: 217.6 kB / 434.8 MB, free: 44 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1395/0.3965, allocations: 79.17 kB / 434.9 MB, free: 15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001143/0.3977, allocations: 475.4 kB / 435.3 MB, free: 15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.3977, allocations: 38.22 kB / 435.4 MB, free: 14.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 2.725e-06/0.3977, allocations: 0 / 435.4 MB, free: 14.96 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.00635/0.404, allocations: 2.41 MB / 437.8 MB, free: 14.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.4041, allocations: 85.7 kB / 437.8 MB, free: 14.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.4042, allocations: 173.9 kB / 438 MB, free: 14.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.096e-05/0.4042, allocations: 37.02 kB / 438.1 MB, free: 14.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.4043, allocations: 179.2 kB / 438.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.549e-05/0.4044, allocations: 184 kB / 438.4 MB, free: 13.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.4045, allocations: 118.3 kB / 438.5 MB, free: 13.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.142e-05/0.4045, allocations: 339.7 kB / 438.9 MB, free: 13.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.4047, allocations: 112.2 kB / 439 MB, free: 13.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.4049, allocations: 274.4 kB / 439.2 MB, free: 13.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004575/0.4054, allocations: 449.4 kB / 439.7 MB, free: 13.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4054, allocations: 1.094 kB / 439.7 MB, free: 13.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006067/0.406, allocations: 458.6 kB / 440.1 MB, free: 13.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.406, allocations: 9.266 kB / 440.1 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.406, allocations: 6.703 kB / 440.1 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001252/0.4061, allocations: 42.78 kB / 440.2 MB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006662/0.4068, allocations: 200.6 kB / 440.4 MB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01134/0.4181, allocations: 4.118 MB / 444.5 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004272/0.4186, allocations: 31.86 kB / 444.5 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.286e-05/0.4186, allocations: 37.09 kB / 444.6 MB, free: 10.29 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001806/0.4188, allocations: 147.8 kB / 444.7 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.337e-05/0.4189, allocations: 36.98 kB / 444.7 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006571/0.4196, allocations: 478.8 kB / 445.2 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.4196, allocations: 4.188 kB / 445.2 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4196, allocations: 2.625 kB / 445.2 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.4196, allocations: 2.797 kB / 445.2 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009997/0.4206, allocations: 0.8392 MB / 446.1 MB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.4206, allocations: 4 kB / 446.1 MB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005383/0.4211, allocations: 165.8 kB / 446.2 MB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.551e-05/0.4212, allocations: 44.23 kB / 446.3 MB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.739e-05/0.4212, allocations: 19.06 kB / 446.3 MB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005732/0.4218, allocations: 2.305 MB / 448.6 MB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4218, allocations: 4.906 kB / 448.6 MB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006232/0.4224, allocations: 0.7267 MB / 449.3 MB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.055e-05/0.4225, allocations: 25.28 kB / 449.3 MB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.06e-05/0.4225, allocations: 17.06 kB / 449.4 MB, free: 7.184 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/0.4228, allocations: 27.11 kB / 449.4 MB, free: 7.184 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.4228, allocations: 47.58 kB / 449.4 MB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.169e-05/0.4229, allocations: 28.86 kB / 449.5 MB, free: 7.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.979e-05/0.4229, allocations: 36.47 kB / 449.5 MB, free: 7.168 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4229, allocations: 1.625 kB / 449.5 MB, free: 7.168 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009793/0.4239, allocations: 401 kB / 449.9 MB, free: 7.145 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.001436/0.4253, allocations: 0.867 MB / 450.8 MB, free: 6.973 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006939/0.426, allocations: 0.6085 MB / 451.4 MB, free: 6.723 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.609e-06/0.426, allocations: 3.75 kB / 451.4 MB, free: 6.723 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002742/0.4263, allocations: 447.1 kB / 451.8 MB, free: 6.488 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.4267, allocations: 125 kB / 451.9 MB, free: 6.469 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.4277, allocations: 0.7231 MB / 452.7 MB, free: 6.062 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.771e-05/0.4278, allocations: 122.1 kB / 452.8 MB, free: 5.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004496/0.4282, allocations: 149.8 kB / 452.9 MB, free: 5.895 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003966/0.4286, allocations: 178.1 kB / 453.1 MB, free: 5.84 MB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/0.4286, allocations: 0 / 453.1 MB, free: 5.84 MB / 378.7 MB Notification: Performance of Templates: time 0.01745/0.4461, allocations: 20.39 MB / 473.5 MB, free: 1.195 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 240] 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","",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.460573015268892]