Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009834/0.0009834, allocations: 139.9 kB / 24.89 MB, free: 9.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.871/0.871, allocations: 173.3 MB / 201.5 MB, free: 9.211 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.MixtureGases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 268.4 MB, free: 6.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.474e-05, allocations: 2.312 kB / 268.4 MB, free: 6.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2413/0.2414, allocations: 145 MB / 413.4 MB, free: 8.242 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002913/0.2443, allocations: 4.07 MB / 417.5 MB, free: 4.176 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.998e-05/0.2443, allocations: 0 / 417.5 MB, free: 4.176 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003463/0.2447, allocations: 99.36 kB / 417.6 MB, free: 4.078 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001864/0.2466, allocations: 1.253 MB / 418.8 MB, free: 2.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006066/0.2472, allocations: 398.5 kB / 419.2 MB, free: 2.43 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004097/0.2476, allocations: 466.7 kB / 419.7 MB, free: 1.973 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.331e-05/0.2476, allocations: 14.45 kB / 419.7 MB, free: 1.953 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003286/0.2479, allocations: 298.9 kB / 420 MB, free: 1.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.2481, allocations: 123.7 kB / 420.1 MB, free: 1.539 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.957e-05/0.2481, allocations: 16 kB / 420.1 MB, free: 1.523 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002087/0.2502, allocations: 1.834 MB / 421.9 MB, free: 15.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.2503, allocations: 151.6 kB / 422.1 MB, free: 15.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.931e-05/0.2504, allocations: 131.7 kB / 422.2 MB, free: 15.41 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.2517, allocations: 1.543 MB / 423.8 MB, free: 13.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2517, allocations: 0 / 423.8 MB, free: 13.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2517, allocations: 0 / 423.8 MB, free: 13.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.2517, allocations: 0 / 423.8 MB, free: 13.86 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.0009327/0.2526, allocations: 0.6441 MB / 424.4 MB, free: 13.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.2526, allocations: 8.922 kB / 424.4 MB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004113/0.2531, allocations: 156.6 kB / 424.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.2533, allocations: 197.6 kB / 424.8 MB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.2533, allocations: 24.59 kB / 424.8 MB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.768e-05/0.2533, allocations: 31.95 kB / 424.8 MB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004531/0.2538, allocations: 0.6526 MB / 425.5 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.2538, allocations: 0 / 425.5 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.753e-05/0.2538, allocations: 19.98 kB / 425.5 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-05/0.2539, allocations: 24.42 kB / 425.5 MB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/0.2541, allocations: 197.1 kB / 425.7 MB, free: 11.78 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.001421/0.2555, allocations: 0.8673 MB / 426.6 MB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.2557, allocations: 216.6 kB / 426.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.784e-05/0.2558, allocations: 85.66 kB / 426.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000841/0.2567, allocations: 498.6 kB / 427.3 MB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.2567, allocations: 42.5 kB / 427.4 MB, free: 10.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 1.743e-06/0.2567, allocations: 0 / 427.4 MB, free: 10.03 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.005264/0.262, allocations: 2.408 MB / 429.8 MB, free: 7.512 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.262, allocations: 85.11 kB / 429.9 MB, free: 7.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.224e-05/0.2621, allocations: 179.1 kB / 430.1 MB, free: 7.223 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.394e-05/0.2621, allocations: 29.7 kB / 430.1 MB, free: 7.188 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.591e-05/0.2622, allocations: 180.6 kB / 430.3 MB, free: 7.004 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.2623, allocations: 186.4 kB / 430.4 MB, free: 6.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.2624, allocations: 106.3 kB / 430.5 MB, free: 6.711 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.576e-05/0.2625, allocations: 342.7 kB / 430.9 MB, free: 6.367 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.2626, allocations: 109.3 kB / 431 MB, free: 6.262 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.2628, allocations: 285.5 kB / 431.3 MB, free: 5.914 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003651/0.2632, allocations: 442.8 kB / 431.7 MB, free: 5.414 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2632, allocations: 0 / 431.7 MB, free: 5.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.000489/0.2637, allocations: 466.8 kB / 432.2 MB, free: 4.949 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.2637, allocations: 12.56 kB / 432.2 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2637, allocations: 4 kB / 432.2 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001149/0.2638, allocations: 45.69 kB / 432.2 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004378/0.2642, allocations: 167.8 kB / 432.4 MB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0109/0.2751, allocations: 4.08 MB / 436.5 MB, free: 404 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.2754, allocations: 31.97 kB / 436.5 MB, free: 372 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/0.2755, allocations: 36.05 kB / 436.5 MB, free: 336 kB / 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.0001259/0.2756, allocations: 144.5 kB / 436.7 MB, free: 180 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-05/0.2757, allocations: 39.97 kB / 436.7 MB, free: 140 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1289/0.4045, allocations: 474.5 kB / 437.2 MB, free: 22.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.4045, allocations: 4.875 kB / 437.2 MB, free: 22.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4045, allocations: 2.453 kB / 437.2 MB, free: 22.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.4045, allocations: 3.188 kB / 437.2 MB, free: 22.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.4058, allocations: 0.8337 MB / 438 MB, free: 22.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.4058, allocations: 3.156 kB / 438 MB, free: 22.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000465/0.4062, allocations: 130.6 kB / 438.1 MB, free: 22.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001055/0.4064, allocations: 38.72 kB / 438.2 MB, free: 22.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.22e-05/0.4064, allocations: 23.05 kB / 438.2 MB, free: 22.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000677/0.4071, allocations: 2.306 MB / 440.5 MB, free: 19.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.4071, allocations: 3.844 kB / 440.5 MB, free: 19.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007595/0.4078, allocations: 0.7333 MB / 441.2 MB, free: 19.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.261e-05/0.4079, allocations: 28.95 kB / 441.3 MB, free: 19.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.169e-05/0.4079, allocations: 13.72 kB / 441.3 MB, free: 19.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003028/0.4082, allocations: 31.56 kB / 441.3 MB, free: 19.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-05/0.4083, allocations: 45.25 kB / 441.4 MB, free: 19.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.084e-05/0.4083, allocations: 27.36 kB / 441.4 MB, free: 19.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.012e-05/0.4084, allocations: 40.69 kB / 441.4 MB, free: 19.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-08/0.4084, allocations: 0 / 441.4 MB, free: 19.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001043/0.4094, allocations: 392.2 kB / 441.8 MB, free: 19.64 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.001604/0.411, allocations: 0.8626 MB / 442.7 MB, free: 19.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006628/0.4117, allocations: 0.5952 MB / 443.3 MB, free: 19.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.4117, allocations: 2.781 kB / 443.3 MB, free: 19.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002924/0.412, allocations: 440.1 kB / 443.7 MB, free: 19.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.4124, allocations: 120 kB / 443.8 MB, free: 19.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.4134, allocations: 0.7231 MB / 444.5 MB, free: 18.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.685e-05/0.4135, allocations: 113.6 kB / 444.7 MB, free: 18.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004709/0.414, allocations: 157.4 kB / 444.8 MB, free: 18.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003923/0.4144, allocations: 169.8 kB / 445 MB, free: 18.61 MB / 378.7 MB Notification: Performance of SimCode: time 9.02e-07/0.4144, allocations: 5.359 kB / 445 MB, free: 18.61 MB / 378.7 MB Notification: Performance of Templates: time 0.01845/0.4328, allocations: 20.08 MB / 465.1 MB, free: 15.63 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.612595405895263]