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.001843/0.001843, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.002032/0.002032, allocations: 167.3 kB / 24.5 MB, free: 3.453 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.423/1.423, allocations: 177.2 MB / 204.9 MB, free: 9.043 MB / 190.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.001635/0.001635, allocations: 51.73 kB / 325.5 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09578/0.09741, allocations: 53.34 MB / 378.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3615/0.4589, allocations: 134.2 MB / 0.501 GB, free: 14.78 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00349/0.4624, allocations: 3.608 MB / 0.5045 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.712e-05/0.4625, allocations: 1.094 kB / 0.5045 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003428/0.4628, allocations: 95.58 kB / 0.5046 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002561/0.4654, allocations: 1.215 MB / 0.5058 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009243/0.4663, allocations: 394.6 kB / 0.5062 GB, free: 14.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005262/0.4669, allocations: 467.2 kB / 0.5066 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.479e-05/0.4669, allocations: 14.95 kB / 0.5067 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003737/0.4673, allocations: 260.2 kB / 0.5069 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.4675, allocations: 140.8 kB / 0.507 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.404e-05/0.4675, allocations: 15.5 kB / 0.5071 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003155/0.4707, allocations: 1.827 MB / 0.5088 GB, free: 13.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.4708, allocations: 139.2 kB / 0.509 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.4709, allocations: 150.5 kB / 0.5091 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001896/0.4728, allocations: 1.474 MB / 0.5106 GB, free: 13.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.4728, allocations: 0 / 0.5106 GB, free: 13.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.4728, allocations: 0 / 0.5106 GB, free: 13.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.4729, allocations: 3.984 kB / 0.5106 GB, free: 13.44 MB / 446.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.001959/0.4748, allocations: 0.7135 MB / 0.5113 GB, free: 12.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.755e-05/0.4748, allocations: 8.25 kB / 0.5113 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006897/0.4755, allocations: 107.1 kB / 0.5114 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.4759, allocations: 226.3 kB / 0.5116 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.4759, allocations: 18.03 kB / 0.5116 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.727e-05/0.476, allocations: 25.73 kB / 0.5116 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.4772, allocations: 0.8995 MB / 0.5125 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.4772, allocations: 3.938 kB / 0.5125 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.046e-05/0.4773, allocations: 12.91 kB / 0.5125 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.002e-05/0.4773, allocations: 20.42 kB / 0.5125 GB, free: 12.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.4785, allocations: 0.6515 MB / 0.5132 GB, free: 12.03 MB / 446.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.002728/0.4812, allocations: 1.121 MB / 0.5143 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009468/0.4822, allocations: 357.1 kB / 0.5146 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004424/0.4826, allocations: 168.5 kB / 0.5148 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001998/0.4846, allocations: 487.2 kB / 0.5152 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.4847, allocations: 42.52 kB / 0.5153 GB, free: 11.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 1.844e-06/0.4847, allocations: 0 / 0.5153 GB, free: 11.17 MB / 446.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.01559/0.5003, allocations: 3.218 MB / 0.5184 GB, free: 9.301 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.5003, allocations: 83.05 kB / 0.5185 GB, free: 9.207 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.5005, allocations: 186.5 kB / 0.5187 GB, free: 9.059 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.793e-05/0.5005, allocations: 32.42 kB / 0.5187 GB, free: 9.023 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.5007, allocations: 191.7 kB / 0.5189 GB, free: 8.844 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.5008, allocations: 184.9 kB / 0.5191 GB, free: 8.688 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002101/0.5011, allocations: 122.3 kB / 0.5192 GB, free: 8.609 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.5012, allocations: 336.4 kB / 0.5195 GB, free: 8.277 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007799/0.502, allocations: 267.7 kB / 0.5198 GB, free: 8.148 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009121/0.5029, allocations: 427.1 kB / 0.5202 GB, free: 7.816 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/0.5047, allocations: 0.6872 MB / 0.5208 GB, free: 7.348 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.5047, allocations: 6.375 kB / 0.5208 GB, free: 7.344 MB / 446.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002121/0.5068, allocations: 0.7902 MB / 0.5216 GB, free: 6.926 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.5068, allocations: 8.188 kB / 0.5216 GB, free: 6.926 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/0.5068, allocations: 5.25 kB / 0.5216 GB, free: 6.926 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002125/0.507, allocations: 55.38 kB / 0.5217 GB, free: 6.895 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.5083, allocations: 176.7 kB / 0.5219 GB, free: 6.844 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007795/0.5091, allocations: 1.083 MB / 0.5229 GB, free: 5.762 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008317/0.5099, allocations: 48.08 kB / 0.523 GB, free: 5.738 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.332e-05/0.51, allocations: 35.69 kB / 0.523 GB, free: 5.73 MB / 446.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.0002605/0.5103, allocations: 174.3 kB / 0.5232 GB, free: 5.574 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.5104, allocations: 25.3 kB / 0.5232 GB, free: 5.562 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002392/0.5128, allocations: 0.7975 MB / 0.524 GB, free: 5.082 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.5128, allocations: 5.688 kB / 0.524 GB, free: 5.082 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.5128, allocations: 0 / 0.524 GB, free: 5.082 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.83e-06/0.5128, allocations: 0 / 0.524 GB, free: 5.082 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00352/0.5163, allocations: 1.409 MB / 0.5253 GB, free: 4.055 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.5163, allocations: 2.812 kB / 0.5253 GB, free: 4.055 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/0.5175, allocations: 142.4 kB / 0.5255 GB, free: 4.012 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001308/0.5176, allocations: 43.62 kB / 0.5255 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.465e-05/0.5177, allocations: 27.09 kB / 0.5255 GB, free: 3.965 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00197/0.5197, allocations: 2.485 MB / 0.528 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.5197, allocations: 6.5 kB / 0.528 GB, free: 1.418 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002918/0.5226, allocations: 1.076 MB / 0.529 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.5226, allocations: 26.3 kB / 0.5291 GB, free: 0.707 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.371e-05/0.5227, allocations: 13.53 kB / 0.5291 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.5237, allocations: 41.34 kB / 0.5291 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.305e-05/0.5238, allocations: 45.28 kB / 0.5292 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.5239, allocations: 33.06 kB / 0.5292 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001403/0.5241, allocations: 127.3 kB / 0.5293 GB, free: 0.543 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5241, allocations: 0 / 0.5293 GB, free: 0.543 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001445/0.5255, allocations: 391.1 kB / 0.5297 GB, free: 476 kB / 446.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.002459/0.528, allocations: 0.8785 MB / 0.5305 GB, free: 28 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001983/0.53, allocations: 0.6377 MB / 0.5312 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.53, allocations: 2.375 kB / 0.5312 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001143/0.5311, allocations: 0.5272 MB / 0.5317 GB, free: 15.35 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007881/0.5319, allocations: 105.7 kB / 0.5318 GB, free: 15.29 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.534, allocations: 1.005 MB / 0.5328 GB, free: 14.58 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001762/0.5342, allocations: 181 kB / 0.5329 GB, free: 14.45 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000799/0.535, allocations: 188.2 kB / 0.5331 GB, free: 14.34 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/0.5353, allocations: 70.16 kB / 0.5332 GB, free: 14.3 MB / 462.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5353, allocations: 0 / 0.5332 GB, free: 14.3 MB / 462.1 MB Notification: Performance of Templates: time 0.02589/0.5612, allocations: 16.43 MB / 0.5492 GB, free: 1.16 MB / 462.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 ida -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.797554999007843]