Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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.001713/0.001713, allocations: 109.7 kB / 21.93 MB, free: 5.223 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.001812/0.001812, allocations: 214 kB / 25.22 MB, free: 3.027 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.423/1.423, allocations: 207.7 MB / 236.1 MB, free: 9.809 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.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") [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.001865/0.001865, allocations: 51.05 kB / 348.4 MB, free: 9.402 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2523, allocations: 49.16 MB / 397.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.166/0.4182, allocations: 130 MB / 0.5153 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003972/0.4222, allocations: 2.73 MB / 0.5179 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.4223, allocations: 4 kB / 0.5179 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003937/0.4227, allocations: 51.67 kB / 0.518 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002831/0.4256, allocations: 1.042 MB / 0.519 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000592/0.4261, allocations: 195.6 kB / 0.5192 GB, free: 12.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004823/0.4266, allocations: 354.7 kB / 0.5195 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.845e-05/0.4267, allocations: 17.25 kB / 0.5195 GB, free: 12.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002832/0.427, allocations: 151.5 kB / 0.5197 GB, free: 12.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002393/0.4272, allocations: 119.5 kB / 0.5198 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.748e-05/0.4273, allocations: 12 kB / 0.5198 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002785/0.43, allocations: 1.274 MB / 0.5211 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.4302, allocations: 83.72 kB / 0.5211 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.4303, allocations: 91.7 kB / 0.5212 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001618/0.4319, allocations: 0.961 MB / 0.5222 GB, free: 9.637 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4319, allocations: 0 / 0.5222 GB, free: 9.637 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4319, allocations: 0 / 0.5222 GB, free: 9.637 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.4319, allocations: 0 / 0.5222 GB, free: 9.637 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009341/0.4329, allocations: 485.2 kB / 0.5226 GB, free: 9.133 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.4329, allocations: 11.98 kB / 0.5226 GB, free: 9.121 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/0.4343, allocations: 204.6 kB / 0.5228 GB, free: 8.922 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003835/0.4347, allocations: 186.3 kB / 0.523 GB, free: 8.715 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.4347, allocations: 16.75 kB / 0.523 GB, free: 8.699 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.215e-05/0.4347, allocations: 23.89 kB / 0.5231 GB, free: 8.676 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007341/0.4355, allocations: 0.5774 MB / 0.5236 GB, free: 8.039 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.4355, allocations: 4 kB / 0.5236 GB, free: 8.035 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/0.4355, allocations: 4 kB / 0.5236 GB, free: 8.031 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.4355, allocations: 4 kB / 0.5236 GB, free: 8.027 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000596/0.4361, allocations: 415.8 kB / 0.524 GB, free: 7.621 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.001628/0.4378, allocations: 0.7031 MB / 0.5247 GB, free: 6.883 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004154/0.4382, allocations: 217.1 kB / 0.5249 GB, free: 6.652 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.4384, allocations: 113.7 kB / 0.525 GB, free: 6.535 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001495/0.4399, allocations: 305.6 kB / 0.5253 GB, free: 6.234 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.4399, allocations: 42.78 kB / 0.5254 GB, free: 6.184 MB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 2.415e-06/0.4399, allocations: 0 / 0.5254 GB, free: 6.184 MB / 446.1 MB Notification: Performance of matching and sorting (n=29): time 0.001263/0.4412, allocations: 366.8 kB / 0.5257 GB, free: 5.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.4412, allocations: 85.11 kB / 0.5258 GB, free: 5.719 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.4413, allocations: 109.8 kB / 0.5259 GB, free: 5.602 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.4414, allocations: 33.7 kB / 0.5259 GB, free: 5.562 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.425e-05/0.4414, allocations: 112.5 kB / 0.526 GB, free: 5.449 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.932e-05/0.4415, allocations: 115 kB / 0.5261 GB, free: 5.336 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.4416, allocations: 62.02 kB / 0.5262 GB, free: 5.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.4418, allocations: 326.8 kB / 0.5265 GB, free: 4.941 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.442, allocations: 100.6 kB / 0.5266 GB, free: 4.844 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/0.4422, allocations: 183.5 kB / 0.5268 GB, free: 4.629 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004808/0.4427, allocations: 311.1 kB / 0.5271 GB, free: 4.289 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.4427, allocations: 4 kB / 0.5271 GB, free: 4.285 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006502/0.4434, allocations: 341.1 kB / 0.5274 GB, free: 3.945 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.4434, allocations: 12.31 kB / 0.5274 GB, free: 3.934 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.4434, allocations: 4 kB / 0.5274 GB, free: 3.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.4434, allocations: 4 kB / 0.5274 GB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003491/0.4438, allocations: 75.89 kB / 0.5275 GB, free: 3.852 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.4438, allocations: 7.938 kB / 0.5275 GB, free: 3.844 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.444, allocations: 19.89 kB / 0.5275 GB, free: 3.824 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-05/0.4441, allocations: 16 kB / 0.5275 GB, free: 3.809 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001526/0.4442, allocations: 141.8 kB / 0.5277 GB, free: 3.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.714e-05/0.4443, allocations: 19.84 kB / 0.5277 GB, free: 3.641 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006724/0.445, allocations: 322.4 kB / 0.528 GB, free: 3.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.445, allocations: 7.938 kB / 0.528 GB, free: 3.312 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.445, allocations: 4 kB / 0.528 GB, free: 3.309 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.445, allocations: 3.984 kB / 0.528 GB, free: 3.305 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004974/0.4455, allocations: 242.8 kB / 0.5283 GB, free: 3.035 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4455, allocations: 0 / 0.5283 GB, free: 3.035 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003334/0.4458, allocations: 55.84 kB / 0.5283 GB, free: 2.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.4458, allocations: 4 kB / 0.5283 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.4459, allocations: 11.98 kB / 0.5283 GB, free: 2.965 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.4459, allocations: 0 / 0.5283 GB, free: 2.965 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.4459, allocations: 3.984 kB / 0.5283 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008051/0.4467, allocations: 0.514 MB / 0.5288 GB, free: 2.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.723e-05/0.4467, allocations: 19.88 kB / 0.5288 GB, free: 2.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/0.4467, allocations: 8.062 kB / 0.5289 GB, free: 2.402 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003157/0.4471, allocations: 11.98 kB / 0.5289 GB, free: 2.391 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.4471, allocations: 19.97 kB / 0.5289 GB, free: 2.371 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.085e-05/0.4471, allocations: 19.98 kB / 0.5289 GB, free: 2.352 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.751e-05/0.4472, allocations: 91.27 kB / 0.529 GB, free: 2.262 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4472, allocations: 0 / 0.529 GB, free: 2.262 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008148/0.448, allocations: 227.4 kB / 0.5292 GB, free: 2.039 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001042/0.4491, allocations: 430.3 kB / 0.5296 GB, free: 1.609 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005406/0.4496, allocations: 239.8 kB / 0.5298 GB, free: 1.375 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.4496, allocations: 0.625 kB / 0.5298 GB, free: 1.375 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.4498, allocations: 135.8 kB / 0.53 GB, free: 1.242 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006526/0.4505, allocations: 84.98 kB / 0.5301 GB, free: 1.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.4518, allocations: 0.7604 MB / 0.5308 GB, free: 368 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.4519, allocations: 123.6 kB / 0.5309 GB, free: 228 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.452, allocations: 39.41 kB / 0.531 GB, free: 188 kB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.452, allocations: 0 / 0.531 GB, free: 188 kB / 446.1 MB Notification: Performance of Templates: time 0.01084/0.4629, allocations: 6.515 MB / 0.5373 GB, free: 9.656 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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.771210823208094]