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.001815/0.001815, allocations: 123.4 kB / 17.79 MB, free: 5.246 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.002158/0.002158, allocations: 208.3 kB / 20.75 MB, free: 2.293 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.509/1.509, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.001606/0.001606, allocations: 51.92 kB / 373.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09434/0.09595, allocations: 53.33 MB / 426.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3675/0.4635, allocations: 155.9 MB / 0.569 GB, free: 4.273 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004869/0.4684, allocations: 4.052 MB / 0.573 GB, free: 216 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.4685, allocations: 0 / 0.573 GB, free: 216 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004488/0.4689, allocations: 111.4 kB / 0.5731 GB, free: 104 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002632/0.4715, allocations: 1.182 MB / 0.5742 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.4725, allocations: 395.4 kB / 0.5746 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006071/0.4731, allocations: 454.8 kB / 0.575 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.707e-05/0.4732, allocations: 18.02 kB / 0.575 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004184/0.4736, allocations: 247 kB / 0.5753 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.4739, allocations: 147.5 kB / 0.5754 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.834e-05/0.4739, allocations: 12 kB / 0.5754 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003731/0.4776, allocations: 2.171 MB / 0.5776 GB, free: 11.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.4778, allocations: 139.6 kB / 0.5777 GB, free: 11.36 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002014/0.478, allocations: 175.3 kB / 0.5779 GB, free: 11.19 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0021/0.4801, allocations: 1.547 MB / 0.5794 GB, free: 9.637 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4801, allocations: 0 / 0.5794 GB, free: 9.637 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4801, allocations: 0 / 0.5794 GB, free: 9.637 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.4801, allocations: 0 / 0.5794 GB, free: 9.637 MB / 494.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.002193/0.4823, allocations: 0.7827 MB / 0.5801 GB, free: 8.805 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.4823, allocations: 8.031 kB / 0.5801 GB, free: 8.797 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007575/0.4831, allocations: 112.7 kB / 0.5802 GB, free: 8.688 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004054/0.4835, allocations: 280.3 kB / 0.5805 GB, free: 8.375 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.4835, allocations: 16.56 kB / 0.5805 GB, free: 8.359 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.711e-05/0.4836, allocations: 35.98 kB / 0.5806 GB, free: 8.324 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.4848, allocations: 0.5848 MB / 0.5811 GB, free: 7.727 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.4848, allocations: 4 kB / 0.5811 GB, free: 7.723 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.77e-05/0.4849, allocations: 15.98 kB / 0.5811 GB, free: 7.707 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.141e-05/0.4849, allocations: 16.44 kB / 0.5812 GB, free: 7.691 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/0.4863, allocations: 0.6424 MB / 0.5818 GB, free: 7.051 MB / 494.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.003086/0.4894, allocations: 1.277 MB / 0.583 GB, free: 5.719 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.4905, allocations: 349.6 kB / 0.5834 GB, free: 5.359 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005155/0.491, allocations: 167.2 kB / 0.5835 GB, free: 5.191 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002596/0.4936, allocations: 1.377 MB / 0.5849 GB, free: 3.594 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.4936, allocations: 46.38 kB / 0.5849 GB, free: 3.539 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 1.703e-06/0.4936, allocations: 4 kB / 0.5849 GB, free: 3.535 MB / 494.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.01672/0.5104, allocations: 3.483 MB / 0.5883 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.5104, allocations: 85.11 kB / 0.5884 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.5106, allocations: 179.2 kB / 0.5886 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.397e-05/0.5107, allocations: 37.7 kB / 0.5886 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.5108, allocations: 184.6 kB / 0.5888 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/0.511, allocations: 178.5 kB / 0.589 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002572/0.5113, allocations: 114.3 kB / 0.5891 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.5114, allocations: 334.8 kB / 0.5894 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008636/0.5123, allocations: 274.5 kB / 0.5896 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009768/0.5133, allocations: 421.5 kB / 0.5901 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001862/0.5151, allocations: 0.7007 MB / 0.5907 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5151, allocations: 0 / 0.5907 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00223/0.5174, allocations: 0.7773 MB / 0.5915 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.5174, allocations: 8.094 kB / 0.5915 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.5174, allocations: 8 kB / 0.5915 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002269/0.5176, allocations: 61.56 kB / 0.5916 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.5189, allocations: 179.7 kB / 0.5917 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008003/0.5197, allocations: 1.074 MB / 0.5928 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008279/0.5205, allocations: 48.08 kB / 0.5928 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.397e-05/0.5206, allocations: 35.98 kB / 0.5929 GB, free: 10.95 MB / 0.4981 GB 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.0002646/0.5209, allocations: 179.9 kB / 0.593 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.521, allocations: 31.81 kB / 0.5931 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002586/0.5236, allocations: 0.7905 MB / 0.5938 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.5236, allocations: 4 kB / 0.5938 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.5236, allocations: 4 kB / 0.5939 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.5236, allocations: 7.984 kB / 0.5939 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003653/0.5272, allocations: 1.548 MB / 0.5954 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.5272, allocations: 0 / 0.5954 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/0.5285, allocations: 155.9 kB / 0.5955 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001409/0.5286, allocations: 45.62 kB / 0.5956 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.001e-05/0.5287, allocations: 19.98 kB / 0.5956 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002218/0.5309, allocations: 2.728 MB / 0.5982 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5309, allocations: 3.938 kB / 0.5982 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003053/0.5339, allocations: 1.08 MB / 0.5993 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.5341, allocations: 96.97 kB / 0.5994 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.009e-05/0.5341, allocations: 16.03 kB / 0.5994 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008984/0.535, allocations: 43.95 kB / 0.5995 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.331e-05/0.5351, allocations: 47.83 kB / 0.5995 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-05/0.5352, allocations: 35.97 kB / 0.5995 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001141/0.5353, allocations: 124.4 kB / 0.5997 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.5353, allocations: 4 kB / 0.5997 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001518/0.5368, allocations: 395.2 kB / 0.6 GB, free: 3.156 MB / 0.4981 GB 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.002475/0.5393, allocations: 0.8646 MB / 0.6009 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00214/0.5415, allocations: 0.6349 MB / 0.6015 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5415, allocations: 0 / 0.6015 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.5427, allocations: 0.5247 MB / 0.602 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008088/0.5435, allocations: 112.8 kB / 0.6021 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.5457, allocations: 0.999 MB / 0.6031 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/0.5462, allocations: 0.7852 MB / 0.6039 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007997/0.547, allocations: 199 kB / 0.604 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003388/0.5473, allocations: 67.33 kB / 0.6041 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of SimCode: time 4.11e-07/0.5473, allocations: 0 / 0.6041 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of Templates: time 0.2021/0.7494, allocations: 16.38 MB / 0.6201 GB, free: 180.1 MB / 0.5137 GB " [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 -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/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_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.772852510213852]