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.001809/0.001809, allocations: 111 kB / 21.18 MB, free: 0.5195 MB / 14.72 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.002114/0.002114, allocations: 211.5 kB / 24.48 MB, free: 3.719 MB / 14.72 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 1.499/1.499, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001573/0.001573, allocations: 51.92 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2208, allocations: 53.36 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3584/0.5791, allocations: 134.2 MB / 0.5532 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003326/0.5825, allocations: 3.614 MB / 0.5567 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.072e-05/0.5825, allocations: 3.531 kB / 0.5567 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003915/0.5829, allocations: 88.48 kB / 0.5568 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002157/0.5851, allocations: 1.219 MB / 0.558 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008119/0.5859, allocations: 396.1 kB / 0.5584 GB, free: 15.82 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000417/0.5863, allocations: 463.2 kB / 0.5588 GB, free: 15.82 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.13e-05/0.5864, allocations: 17.59 kB / 0.5589 GB, free: 15.81 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003213/0.5867, allocations: 253.8 kB / 0.5591 GB, free: 15.81 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.5869, allocations: 153.6 kB / 0.5592 GB, free: 15.81 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.015e-05/0.5869, allocations: 16.81 kB / 0.5593 GB, free: 15.81 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002501/0.5894, allocations: 1.844 MB / 0.5611 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.5895, allocations: 134.9 kB / 0.5612 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.5897, allocations: 146.2 kB / 0.5613 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001517/0.5912, allocations: 1.48 MB / 0.5628 GB, free: 15.73 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.5912, allocations: 0 / 0.5628 GB, free: 15.73 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.5912, allocations: 0 / 0.5628 GB, free: 15.73 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.5912, allocations: 0 / 0.5628 GB, free: 15.73 MB / 462.1 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.002123/0.5933, allocations: 0.7113 MB / 0.5635 GB, free: 15.33 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.824e-05/0.5933, allocations: 7.594 kB / 0.5635 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000742/0.5941, allocations: 109 kB / 0.5636 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.5945, allocations: 223.5 kB / 0.5638 GB, free: 15.17 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.5945, allocations: 20.88 kB / 0.5638 GB, free: 15.17 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.988e-05/0.5946, allocations: 26.28 kB / 0.5638 GB, free: 15.17 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.5958, allocations: 0.9053 MB / 0.5647 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.5958, allocations: 1.094 kB / 0.5647 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-05/0.5959, allocations: 15.34 kB / 0.5647 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/0.5959, allocations: 21.41 kB / 0.5648 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.5971, allocations: 0.6446 MB / 0.5654 GB, free: 14.73 MB / 462.1 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.002859/0.5999, allocations: 1.131 MB / 0.5665 GB, free: 14.37 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009177/0.6009, allocations: 351.7 kB / 0.5668 GB, free: 14.31 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004155/0.6013, allocations: 166.6 kB / 0.567 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002001/0.6033, allocations: 485.5 kB / 0.5674 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/0.6033, allocations: 41.48 kB / 0.5675 GB, free: 14.23 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 1.814e-06/0.6033, allocations: 0 / 0.5675 GB, free: 14.23 MB / 462.1 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.01541/0.6187, allocations: 3.189 MB / 0.5706 GB, free: 13.45 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.6188, allocations: 80.02 kB / 0.5707 GB, free: 13.36 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.6189, allocations: 183.6 kB / 0.5709 GB, free: 13.25 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.956e-05/0.619, allocations: 40.89 kB / 0.5709 GB, free: 13.21 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.6191, allocations: 196.2 kB / 0.5711 GB, free: 13.05 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.6193, allocations: 181 kB / 0.5713 GB, free: 12.94 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/0.6195, allocations: 120.1 kB / 0.5714 GB, free: 12.91 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.6196, allocations: 342.8 kB / 0.5717 GB, free: 12.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007133/0.6204, allocations: 262.6 kB / 0.5719 GB, free: 12.59 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008162/0.6212, allocations: 421.8 kB / 0.5723 GB, free: 12.41 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.6227, allocations: 0.6915 MB / 0.573 GB, free: 12.23 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.6227, allocations: 3.594 kB / 0.573 GB, free: 12.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001875/0.6246, allocations: 0.7873 MB / 0.5738 GB, free: 12.15 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.6246, allocations: 8.406 kB / 0.5738 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.6246, allocations: 6.219 kB / 0.5738 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001904/0.6248, allocations: 58.53 kB / 0.5739 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.626, allocations: 177.2 kB / 0.574 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007731/0.6268, allocations: 1.082 MB / 0.5751 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007994/0.6276, allocations: 40.53 kB / 0.5751 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.336e-05/0.6277, allocations: 35.89 kB / 0.5752 GB, free: 11.09 MB / 462.1 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.0002292/0.6279, allocations: 177.4 kB / 0.5753 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.628, allocations: 25.95 kB / 0.5754 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/0.6301, allocations: 0.7957 MB / 0.5761 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.6301, allocations: 9.281 kB / 0.5761 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.6301, allocations: 2.312 kB / 0.5761 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.6301, allocations: 3.594 kB / 0.5761 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003153/0.6333, allocations: 1.403 MB / 0.5775 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.6333, allocations: 2.562 kB / 0.5775 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/0.6345, allocations: 146.4 kB / 0.5777 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001213/0.6346, allocations: 43.05 kB / 0.5777 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.91e-05/0.6347, allocations: 28.17 kB / 0.5777 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/0.6366, allocations: 2.478 MB / 0.5801 GB, free: 7.91 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.6366, allocations: 9.438 kB / 0.5802 GB, free: 7.906 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002508/0.6391, allocations: 1.072 MB / 0.5812 GB, free: 7.594 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.6391, allocations: 32.86 kB / 0.5812 GB, free: 7.574 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.794e-05/0.6392, allocations: 12.06 kB / 0.5812 GB, free: 7.574 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008833/0.6401, allocations: 35.91 kB / 0.5813 GB, free: 7.574 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.95e-05/0.6402, allocations: 47.12 kB / 0.5813 GB, free: 7.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-05/0.6402, allocations: 36.58 kB / 0.5814 GB, free: 7.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.807e-05/0.6403, allocations: 123.2 kB / 0.5815 GB, free: 7.492 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6403, allocations: 0 / 0.5815 GB, free: 7.492 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001285/0.6416, allocations: 394.4 kB / 0.5819 GB, free: 7.445 MB / 462.1 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.002201/0.6438, allocations: 0.8735 MB / 0.5827 GB, free: 7.207 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001794/0.6456, allocations: 0.6344 MB / 0.5833 GB, free: 7.188 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6456, allocations: 0 / 0.5833 GB, free: 7.188 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.6467, allocations: 0.5249 MB / 0.5838 GB, free: 6.961 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007577/0.6475, allocations: 102 kB / 0.5839 GB, free: 6.945 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.6495, allocations: 1.02 MB / 0.5849 GB, free: 6.41 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.6496, allocations: 170.4 kB / 0.5851 GB, free: 6.332 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008438/0.6505, allocations: 193.8 kB / 0.5853 GB, free: 6.234 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003164/0.6508, allocations: 64.84 kB / 0.5853 GB, free: 6.223 MB / 462.1 MB Notification: Performance of SimCode: time 3.11e-07/0.6508, allocations: 0 / 0.5853 GB, free: 6.223 MB / 462.1 MB Notification: Performance of Templates: time 0.02444/0.6752, allocations: 17.07 MB / 0.602 GB, free: 13.42 MB / 478.1 MB " [Timeout remaining time 659] 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=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.791387411998585]