Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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.001445/0.001445, allocations: 101.1 kB / 21.93 MB, free: 5.195 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.001486/0.001486, allocations: 203.2 kB / 25.22 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 207.7 MB / 236.1 MB, free: 9.777 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 55.94 kB / 348.4 MB, free: 9.371 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2904, allocations: 49.15 MB / 397.6 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.1723/0.4627, allocations: 129.7 MB / 0.515 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.465, allocations: 1.343 MB / 0.5163 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.571e-05/0.4651, allocations: 4 kB / 0.5163 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003791/0.4655, allocations: 47.75 kB / 0.5163 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.4667, allocations: 397.9 kB / 0.5167 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000582/0.4673, allocations: 171.5 kB / 0.5169 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003001/0.4676, allocations: 187.2 kB / 0.5171 GB, free: 14.85 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.888e-05/0.4677, allocations: 8 kB / 0.5171 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.4679, allocations: 79.75 kB / 0.5172 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.468, allocations: 55.75 kB / 0.5172 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.468, allocations: 11.94 kB / 0.5172 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.4691, allocations: 0.5144 MB / 0.5177 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.451e-05/0.4692, allocations: 27.95 kB / 0.5177 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.137e-05/0.4693, allocations: 51.73 kB / 0.5178 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007024/0.47, allocations: 381.5 kB / 0.5182 GB, free: 13.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.47, allocations: 3.938 kB / 0.5182 GB, free: 13.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.47, allocations: 0 / 0.5182 GB, free: 13.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.47, allocations: 4 kB / 0.5182 GB, free: 13.73 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006159/0.4706, allocations: 361.8 kB / 0.5185 GB, free: 13.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.4707, allocations: 11.98 kB / 0.5185 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002275/0.4729, allocations: 188.6 kB / 0.5187 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.4732, allocations: 146.5 kB / 0.5188 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.4732, allocations: 8.125 kB / 0.5188 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.118e-05/0.4733, allocations: 12 kB / 0.5189 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005305/0.4738, allocations: 294.5 kB / 0.5191 GB, free: 12.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.4738, allocations: 0 / 0.5191 GB, free: 12.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.4739, allocations: 4 kB / 0.5191 GB, free: 12.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.4739, allocations: 4 kB / 0.5191 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006102/0.4745, allocations: 235.8 kB / 0.5194 GB, free: 12.41 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.00181/0.4763, allocations: 0.5441 MB / 0.5199 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/0.4768, allocations: 190.4 kB / 0.5201 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/0.477, allocations: 92.75 kB / 0.5202 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000138/0.4771, allocations: 12 kB / 0.5202 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.4772, allocations: 38.55 kB / 0.5202 GB, free: 11.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.4772, allocations: 0 / 0.5202 GB, free: 11.49 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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005877/0.483, allocations: 1.389 MB / 0.5216 GB, free: 10.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.4831, allocations: 55.39 kB / 0.5216 GB, free: 9.953 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.4832, allocations: 117.8 kB / 0.5217 GB, free: 9.828 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.4832, allocations: 25.7 kB / 0.5218 GB, free: 9.797 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.862e-05/0.4833, allocations: 100.4 kB / 0.5219 GB, free: 9.695 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.293e-05/0.4833, allocations: 71.36 kB / 0.5219 GB, free: 9.625 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.425e-05/0.4834, allocations: 45.7 kB / 0.522 GB, free: 9.574 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.4836, allocations: 322.8 kB / 0.5223 GB, free: 9.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.4838, allocations: 87.95 kB / 0.5224 GB, free: 9.164 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.4841, allocations: 127.2 kB / 0.5225 GB, free: 9.027 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004742/0.4845, allocations: 227.3 kB / 0.5227 GB, free: 8.793 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.4845, allocations: 3.938 kB / 0.5227 GB, free: 8.789 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000646/0.4852, allocations: 282.3 kB / 0.523 GB, free: 8.504 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4852, allocations: 7.938 kB / 0.523 GB, free: 8.496 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.4852, allocations: 4.094 kB / 0.523 GB, free: 8.492 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001366/0.4853, allocations: 24.84 kB / 0.523 GB, free: 8.465 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/0.4858, allocations: 55.91 kB / 0.5231 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004199/0.4862, allocations: 0.5329 MB / 0.5236 GB, free: 7.852 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/0.4865, allocations: 11.98 kB / 0.5236 GB, free: 7.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.329e-05/0.4866, allocations: 4 kB / 0.5236 GB, free: 7.836 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.4867, allocations: 133.8 kB / 0.5237 GB, free: 7.695 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.798e-05/0.4868, allocations: 11.95 kB / 0.5237 GB, free: 7.684 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007647/0.4875, allocations: 311 kB / 0.524 GB, free: 7.371 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.4875, allocations: 4 kB / 0.524 GB, free: 7.367 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.4876, allocations: 4 kB / 0.524 GB, free: 7.363 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.4876, allocations: 7.922 kB / 0.5241 GB, free: 7.355 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.4888, allocations: 0.5778 MB / 0.5246 GB, free: 6.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.4888, allocations: 7.938 kB / 0.5246 GB, free: 6.723 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004555/0.4893, allocations: 47.95 kB / 0.5247 GB, free: 6.676 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.515e-05/0.4894, allocations: 20.84 kB / 0.5247 GB, free: 6.652 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-05/0.4894, allocations: 12.09 kB / 0.5247 GB, free: 6.641 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.4905, allocations: 1.244 MB / 0.5259 GB, free: 5.293 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4905, allocations: 0 / 0.5259 GB, free: 5.293 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009023/0.4914, allocations: 459.2 kB / 0.5264 GB, free: 4.816 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.765e-05/0.4914, allocations: 11.98 kB / 0.5264 GB, free: 4.805 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.4914, allocations: 4 kB / 0.5264 GB, free: 4.801 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003456/0.4918, allocations: 15.92 kB / 0.5264 GB, free: 4.785 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.4918, allocations: 27.84 kB / 0.5264 GB, free: 4.758 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.173e-05/0.4919, allocations: 11.98 kB / 0.5264 GB, free: 4.746 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.056e-05/0.4919, allocations: 83.28 kB / 0.5265 GB, free: 4.664 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4919, allocations: 4 kB / 0.5265 GB, free: 4.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005676/0.4925, allocations: 131.7 kB / 0.5266 GB, free: 4.531 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0007287/0.4932, allocations: 254.8 kB / 0.5269 GB, free: 4.273 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006794/0.4939, allocations: 231.8 kB / 0.5271 GB, free: 4.047 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4939, allocations: 0 / 0.5271 GB, free: 4.047 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004463/0.4943, allocations: 234.4 kB / 0.5273 GB, free: 3.805 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004647/0.4948, allocations: 52.8 kB / 0.5274 GB, free: 3.754 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.4958, allocations: 0.4981 MB / 0.5279 GB, free: 3.211 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.4959, allocations: 93.97 kB / 0.5279 GB, free: 3.098 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.4961, allocations: 31.42 kB / 0.528 GB, free: 3.066 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4961, allocations: 0 / 0.528 GB, free: 3.066 MB / 446.1 MB Notification: Performance of Templates: time 0.01212/0.5082, allocations: 5.202 MB / 0.5331 GB, free: 13.86 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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: 8.355539374053478]