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.002663/0.002663, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.00305/0.00305, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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 1.585/1.585, allocations: 177 MB / 204.5 MB, free: 5.59 MB / 186.7 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.182e-06/1.182e-06, allocations: 0 / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.516e-05, allocations: 5.125 kB / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.304/0.304, allocations: 148.2 MB / 420.3 MB, free: 13.76 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005878/0.3099, allocations: 4.065 MB / 424.4 MB, free: 9.699 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.31, allocations: 0 / 424.4 MB, free: 9.699 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005223/0.3106, allocations: 103.3 kB / 424.5 MB, free: 9.598 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003424/0.314, allocations: 1.241 MB / 425.7 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.3151, allocations: 394.5 kB / 426.1 MB, free: 7.965 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007348/0.3159, allocations: 474.6 kB / 426.6 MB, free: 7.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.643e-05/0.3159, allocations: 10.33 kB / 426.6 MB, free: 7.488 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005714/0.3165, allocations: 299 kB / 426.9 MB, free: 7.195 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002532/0.3167, allocations: 135.6 kB / 427 MB, free: 7.062 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.923e-05/0.3168, allocations: 16 kB / 427 MB, free: 7.047 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004426/0.3212, allocations: 1.85 MB / 428.9 MB, free: 5.191 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002063/0.3214, allocations: 155.6 kB / 429 MB, free: 5.039 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002304/0.3217, allocations: 127.8 kB / 429.2 MB, free: 4.914 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002965/0.3246, allocations: 1.617 MB / 430.8 MB, free: 3.293 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3246, allocations: 0 / 430.8 MB, free: 3.293 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3246, allocations: 4 kB / 430.8 MB, free: 3.289 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.3246, allocations: 0 / 430.8 MB, free: 3.289 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.002099/0.3267, allocations: 0.7881 MB / 431.6 MB, free: 2.465 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3268, allocations: 15.98 kB / 431.6 MB, free: 2.449 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008411/0.3276, allocations: 156.5 kB / 431.7 MB, free: 2.297 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005029/0.3281, allocations: 224.4 kB / 432 MB, free: 2.051 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.3281, allocations: 20.59 kB / 432 MB, free: 2.031 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.539e-05/0.3282, allocations: 36 kB / 432 MB, free: 1.996 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.3294, allocations: 0.732 MB / 432.8 MB, free: 1.176 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.3294, allocations: 0 / 432.8 MB, free: 1.176 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.039e-05/0.3295, allocations: 12 kB / 432.8 MB, free: 1.164 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.302e-05/0.3295, allocations: 20.48 kB / 432.8 MB, free: 1.141 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009668/0.3305, allocations: 369.8 kB / 433.1 MB, free: 0.7812 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.112/0.4425, allocations: 1.17 MB / 434.3 MB, free: 140.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008082/0.4433, allocations: 330.5 kB / 434.6 MB, free: 140 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/0.4437, allocations: 149.6 kB / 434.8 MB, free: 140 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002109/0.4458, allocations: 474.5 kB / 435.2 MB, free: 140 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.4458, allocations: 46.12 kB / 435.3 MB, free: 139.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 2.113e-06/0.4458, allocations: 0 / 435.3 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.01368/0.4595, allocations: 3.01 MB / 438.3 MB, free: 138.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.4595, allocations: 88.53 kB / 438.4 MB, free: 138.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.4597, allocations: 254.8 kB / 438.6 MB, free: 138.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.232e-05/0.4598, allocations: 36.08 kB / 438.7 MB, free: 138.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.942e-05/0.4598, allocations: 230.4 kB / 438.9 MB, free: 138.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.46, allocations: 190.5 kB / 439.1 MB, free: 138.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002256/0.4602, allocations: 130.6 kB / 439.2 MB, free: 138.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.574e-05/0.4603, allocations: 0.5193 MB / 439.7 MB, free: 137.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006309/0.4609, allocations: 258.6 kB / 440 MB, free: 137.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006951/0.4616, allocations: 0.4912 MB / 440.5 MB, free: 137.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.4629, allocations: 0.7605 MB / 441.2 MB, free: 136.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.4629, allocations: 1.438 kB / 441.2 MB, free: 136.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001774/0.4647, allocations: 0.8031 MB / 442 MB, free: 136.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.4647, allocations: 7.375 kB / 442 MB, free: 136.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.4647, allocations: 5.5 kB / 442.1 MB, free: 136.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002176/0.465, allocations: 64.42 kB / 442.1 MB, free: 136.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.4661, allocations: 165.2 kB / 442.3 MB, free: 136.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004988/0.4666, allocations: 1.625 MB / 443.9 MB, free: 134.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007217/0.4673, allocations: 32.95 kB / 443.9 MB, free: 134.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.229e-05/0.4674, allocations: 37.34 kB / 444 MB, free: 134.9 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.0002087/0.4676, allocations: 202.6 kB / 444.2 MB, free: 134.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.4678, allocations: 51.55 kB / 444.2 MB, free: 134.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001925/0.4697, allocations: 0.7847 MB / 445 MB, free: 134.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.4697, allocations: 5.5 kB / 445 MB, free: 134.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.4697, allocations: 1.938 kB / 445 MB, free: 134.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.4697, allocations: 8.031 kB / 445 MB, free: 134.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002857/0.4726, allocations: 1.552 MB / 446.6 MB, free: 133.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.4726, allocations: 6.594 kB / 446.6 MB, free: 133.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.4736, allocations: 133.7 kB / 446.7 MB, free: 133.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001473/0.4738, allocations: 47.11 kB / 446.8 MB, free: 133.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.92e-05/0.4738, allocations: 25.22 kB / 446.8 MB, free: 133.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001251/0.4751, allocations: 3.529 MB / 450.3 MB, free: 129.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4751, allocations: 6.594 kB / 450.3 MB, free: 129.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002196/0.4773, allocations: 1.239 MB / 451.6 MB, free: 129.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.4773, allocations: 32.08 kB / 451.6 MB, free: 129.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.3e-05/0.4774, allocations: 15.5 kB / 451.6 MB, free: 129.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007389/0.4782, allocations: 30.45 kB / 451.6 MB, free: 129.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.116e-05/0.4782, allocations: 37.88 kB / 451.7 MB, free: 129.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.697e-05/0.4783, allocations: 36.05 kB / 451.7 MB, free: 129.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.004e-05/0.4784, allocations: 165.5 kB / 451.9 MB, free: 129 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4784, allocations: 0 / 451.9 MB, free: 129 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001314/0.4797, allocations: 394 kB / 452.2 MB, free: 129 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.001999/0.4817, allocations: 0.8894 MB / 453.1 MB, free: 128.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001509/0.4832, allocations: 0.6767 MB / 453.8 MB, free: 128 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4832, allocations: 1.25 kB / 453.8 MB, free: 128 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008447/0.484, allocations: 0.6771 MB / 454.5 MB, free: 127.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008074/0.4848, allocations: 134 kB / 454.6 MB, free: 127.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.4864, allocations: 0.877 MB / 455.5 MB, free: 126.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.4866, allocations: 175.9 kB / 455.7 MB, free: 126.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007497/0.4873, allocations: 175.1 kB / 455.8 MB, free: 126 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002985/0.4876, allocations: 68.44 kB / 455.9 MB, free: 125.9 MB / 378.7 MB Notification: Performance of SimCode: time 8.72e-07/0.4876, allocations: 0 / 455.9 MB, free: 125.9 MB / 378.7 MB Notification: Performance of Templates: time 0.02086/0.5085, allocations: 16.7 MB / 472.6 MB, free: 109.3 MB / 378.7 MB " [Timeout remaining time 659] 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","/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.686305408948101]