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.0008823/0.0008823, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.0009015/0.0009015, allocations: 164.8 kB / 24.91 MB, free: 8.762 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.9218/0.9218, allocations: 177 MB / 205.2 MB, free: 5.461 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.493e-06/1.493e-06, allocations: 0 / 273.4 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.316e-05, allocations: 2.312 kB / 273.4 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2383/0.2383, allocations: 147.9 MB / 421.3 MB, free: 13.43 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003393/0.2417, allocations: 4.065 MB / 425.4 MB, free: 9.375 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.2418, allocations: 7.938 kB / 425.4 MB, free: 9.367 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003738/0.2422, allocations: 95.41 kB / 425.5 MB, free: 9.273 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002107/0.2443, allocations: 1.214 MB / 426.7 MB, free: 8.055 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008422/0.2451, allocations: 398.4 kB / 427.1 MB, free: 7.664 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005577/0.2457, allocations: 470.7 kB / 427.5 MB, free: 7.203 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.271e-05/0.2457, allocations: 6.469 kB / 427.5 MB, free: 7.195 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004726/0.2462, allocations: 311 kB / 427.8 MB, free: 6.891 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.2464, allocations: 127.6 kB / 428 MB, free: 6.766 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.165e-05/0.2464, allocations: 12 kB / 428 MB, free: 6.754 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003265/0.2497, allocations: 1.896 MB / 429.9 MB, free: 4.852 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.2499, allocations: 143.7 kB / 430 MB, free: 4.711 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.25, allocations: 135.8 kB / 430.1 MB, free: 4.578 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00223/0.2522, allocations: 1.551 MB / 431.7 MB, free: 3.023 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.2522, allocations: 4 kB / 431.7 MB, free: 3.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2522, allocations: 0 / 431.7 MB, free: 3.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.2522, allocations: 4 kB / 431.7 MB, free: 3.016 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.001386/0.2536, allocations: 0.6409 MB / 432.3 MB, free: 2.352 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.2536, allocations: 11.98 kB / 432.3 MB, free: 2.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005043/0.2541, allocations: 156.5 kB / 432.5 MB, free: 2.188 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.2544, allocations: 205.5 kB / 432.7 MB, free: 1.961 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.2545, allocations: 20.59 kB / 432.7 MB, free: 1.941 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.791e-05/0.2545, allocations: 32 kB / 432.8 MB, free: 1.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005138/0.255, allocations: 0.6557 MB / 433.4 MB, free: 1.164 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.2551, allocations: 3.938 kB / 433.4 MB, free: 1.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/0.2551, allocations: 12 kB / 433.4 MB, free: 1.148 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.321e-05/0.2551, allocations: 20.48 kB / 433.4 MB, free: 1.125 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002356/0.2554, allocations: 197 kB / 433.6 MB, free: 0.9336 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.001425/0.2568, allocations: 0.8708 MB / 434.5 MB, free: 40 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1638/0.4206, allocations: 207 kB / 434.7 MB, free: 14.85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.4207, allocations: 84.69 kB / 434.8 MB, free: 14.83 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001304/0.422, allocations: 471.4 kB / 435.3 MB, free: 14.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.4221, allocations: 38.94 kB / 435.3 MB, free: 14.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 3.437e-06/0.4221, allocations: 2.188 kB / 435.3 MB, free: 14.79 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.007708/0.4298, allocations: 2.416 MB / 437.7 MB, free: 14.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.4298, allocations: 85.14 kB / 437.8 MB, free: 14.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.4299, allocations: 180.8 kB / 438 MB, free: 13.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.361e-05/0.43, allocations: 32.25 kB / 438 MB, free: 13.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.477e-05/0.43, allocations: 178.5 kB / 438.2 MB, free: 13.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.4301, allocations: 185.6 kB / 438.4 MB, free: 13.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.4303, allocations: 112.5 kB / 438.5 MB, free: 13.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.822e-05/0.4304, allocations: 340.8 kB / 438.8 MB, free: 13.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.4306, allocations: 115.8 kB / 438.9 MB, free: 13.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.4309, allocations: 273.3 kB / 439.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005711/0.4314, allocations: 443.7 kB / 439.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.4314, allocations: 3.281 kB / 439.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007482/0.4322, allocations: 466.6 kB / 440.1 MB, free: 12.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.4322, allocations: 7.469 kB / 440.1 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.4322, allocations: 5.688 kB / 440.1 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001504/0.4324, allocations: 45.66 kB / 440.1 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007989/0.4332, allocations: 199.7 kB / 440.3 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01388/0.447, allocations: 4.11 MB / 444.4 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004538/0.4475, allocations: 26.72 kB / 444.5 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-05/0.4475, allocations: 33.78 kB / 444.5 MB, free: 10.13 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.0001903/0.4477, allocations: 153.4 kB / 444.6 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.4478, allocations: 32.94 kB / 444.7 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006399/0.4485, allocations: 492.2 kB / 445.2 MB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.4485, allocations: 6.938 kB / 445.2 MB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.217e-06/0.4485, allocations: 3.094 kB / 445.2 MB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.4485, allocations: 4.391 kB / 445.2 MB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.4495, allocations: 0.83 MB / 446 MB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.4495, allocations: 2.25 kB / 446 MB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005395/0.4501, allocations: 164.9 kB / 446.2 MB, free: 9.598 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.146e-05/0.4502, allocations: 38.62 kB / 446.2 MB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/0.4502, allocations: 21.8 kB / 446.2 MB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006124/0.4508, allocations: 2.306 MB / 448.5 MB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.4508, allocations: 1.812 kB / 448.5 MB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000653/0.4515, allocations: 0.7374 MB / 449.3 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.658e-05/0.4515, allocations: 25.83 kB / 449.3 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.707e-05/0.4515, allocations: 15.45 kB / 449.3 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002953/0.4518, allocations: 28.59 kB / 449.3 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.4519, allocations: 44.48 kB / 449.4 MB, free: 7.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.476e-05/0.4519, allocations: 33.88 kB / 449.4 MB, free: 7.012 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.034e-05/0.452, allocations: 34.23 kB / 449.4 MB, free: 7 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.452, allocations: 0.9688 kB / 449.4 MB, free: 7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001065/0.453, allocations: 397.3 kB / 449.8 MB, free: 6.977 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.001552/0.4546, allocations: 0.864 MB / 450.7 MB, free: 6.809 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006395/0.4552, allocations: 0.6161 MB / 451.3 MB, free: 6.551 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/0.4552, allocations: 2 kB / 451.3 MB, free: 6.551 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.4555, allocations: 440.4 kB / 451.7 MB, free: 6.316 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.4559, allocations: 116.9 kB / 451.9 MB, free: 6.305 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.4569, allocations: 0.7302 MB / 452.6 MB, free: 5.902 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.606e-05/0.457, allocations: 117.3 kB / 452.7 MB, free: 5.828 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004869/0.4575, allocations: 160.9 kB / 452.9 MB, free: 5.734 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004183/0.4579, allocations: 175 kB / 453 MB, free: 5.68 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.4579, allocations: 0 / 453 MB, free: 5.68 MB / 378.7 MB Notification: Performance of Templates: time 0.01929/0.4772, allocations: 20.39 MB / 473.4 MB, free: 1.02 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 -s gbode -gbm=radauIIA3 -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.499118193052709]