Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008626/0.0008626, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001012/0.001012, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.038/1.038, allocations: 177 MB / 204.8 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2732/0.2732, allocations: 34.86 MB / 296.3 MB, free: 0.5391 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.[0-9,]+.|medium2.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.[0-9,]+.|medium2.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 378.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.826e-05/2.027e-05, allocations: 3.156 kB / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3586/0.3586, allocations: 145.8 MB / 0.5123 GB, free: 17.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003179/0.3618, allocations: 3.305 MB / 0.5155 GB, free: 15.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.3619, allocations: 3.938 kB / 0.5155 GB, free: 15.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000389/0.3623, allocations: 57.98 kB / 0.5156 GB, free: 15.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002333/0.3647, allocations: 1.126 MB / 0.5167 GB, free: 14.76 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003875/0.365, allocations: 204.6 kB / 0.5168 GB, free: 14.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003527/0.3654, allocations: 373.5 kB / 0.5172 GB, free: 14.49 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.222e-05/0.3654, allocations: 4.219 kB / 0.5172 GB, free: 14.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002609/0.3657, allocations: 207 kB / 0.5174 GB, free: 14.42 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.3659, allocations: 115.9 kB / 0.5175 GB, free: 14.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.3659, allocations: 16.81 kB / 0.5175 GB, free: 14.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002105/0.368, allocations: 1.351 MB / 0.5189 GB, free: 13.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.3682, allocations: 87.86 kB / 0.5189 GB, free: 13.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.3683, allocations: 83.8 kB / 0.519 GB, free: 13.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001626/0.3699, allocations: 1.039 MB / 0.52 GB, free: 13.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3699, allocations: 0 / 0.52 GB, free: 13.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.3699, allocations: 1.875 kB / 0.52 GB, free: 13.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.3699, allocations: 4 kB / 0.52 GB, free: 13.56 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0008726/0.3708, allocations: 0.5841 MB / 0.5206 GB, free: 13.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.389e-05/0.3708, allocations: 8.219 kB / 0.5206 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.3719, allocations: 266.3 kB / 0.5209 GB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.3721, allocations: 192 kB / 0.5211 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.3722, allocations: 18.69 kB / 0.5211 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.787e-05/0.3722, allocations: 21.88 kB / 0.5211 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003986/0.3726, allocations: 489.3 kB / 0.5216 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3726, allocations: 0 / 0.5216 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.3726, allocations: 6.656 kB / 0.5216 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.3727, allocations: 8.141 kB / 0.5216 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002947/0.373, allocations: 217.3 kB / 0.5218 GB, free: 12.46 MB / 410.7 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.001064/0.374, allocations: 0.7711 MB / 0.5225 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.3743, allocations: 202.4 kB / 0.5227 GB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.3744, allocations: 93.52 kB / 0.5228 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007543/0.3751, allocations: 300.7 kB / 0.5231 GB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.3752, allocations: 40.23 kB / 0.5231 GB, free: 11.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 1.844e-06/0.3752, allocations: 3.938 kB / 0.5231 GB, free: 11.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.0007328/0.3759, allocations: 354.9 kB / 0.5235 GB, free: 11.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.3759, allocations: 83.98 kB / 0.5236 GB, free: 11.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.276e-05/0.376, allocations: 174.2 kB / 0.5237 GB, free: 11.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.376, allocations: 32.52 kB / 0.5238 GB, free: 11.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.373e-05/0.3761, allocations: 152.9 kB / 0.5239 GB, free: 11.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.854e-05/0.3762, allocations: 122.8 kB / 0.524 GB, free: 11.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.331e-05/0.3762, allocations: 72.02 kB / 0.5241 GB, free: 10.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.633e-05/0.3763, allocations: 0.4918 MB / 0.5246 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.855e-05/0.3764, allocations: 64 kB / 0.5246 GB, free: 10.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.3765, allocations: 180.7 kB / 0.5248 GB, free: 10.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.3768, allocations: 274.4 kB / 0.5251 GB, free: 10.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3768, allocations: 0 / 0.5251 GB, free: 10.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003509/0.3771, allocations: 309.9 kB / 0.5254 GB, free: 10 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.3771, allocations: 9.844 kB / 0.5254 GB, free: 9.996 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.3771, allocations: 3.062 kB / 0.5254 GB, free: 9.996 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.3772, allocations: 2.281 kB / 0.5254 GB, free: 9.996 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.3773, allocations: 72.12 kB / 0.5254 GB, free: 9.988 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3773, allocations: 5.969 kB / 0.5254 GB, free: 9.988 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.521e-05/0.3774, allocations: 35.02 kB / 0.5255 GB, free: 9.965 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/0.3775, allocations: 15.78 kB / 0.5255 GB, free: 9.961 MB / 410.7 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 (40): * Single equations (assignments): 39 * Array equations: 1 * 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 8.427e-05/0.3776, allocations: 179.5 kB / 0.5257 GB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.14e-05/0.3776, allocations: 34.31 kB / 0.5257 GB, free: 9.766 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003798/0.378, allocations: 286.8 kB / 0.526 GB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.378, allocations: 5.656 kB / 0.526 GB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.378, allocations: 0 / 0.526 GB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.378, allocations: 0 / 0.526 GB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003068/0.3783, allocations: 243.6 kB / 0.5262 GB, free: 9.465 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.3783, allocations: 0 / 0.5262 GB, free: 9.465 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.3785, allocations: 57.62 kB / 0.5263 GB, free: 9.457 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.3785, allocations: 2.469 kB / 0.5263 GB, free: 9.457 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.3785, allocations: 24.27 kB / 0.5263 GB, free: 9.441 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3785, allocations: 0 / 0.5263 GB, free: 9.441 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3785, allocations: 0 / 0.5263 GB, free: 9.441 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004571/0.379, allocations: 0.5665 MB / 0.5268 GB, free: 9.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.73e-05/0.379, allocations: 21.5 kB / 0.5269 GB, free: 9.055 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.379, allocations: 11 kB / 0.5269 GB, free: 9.047 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.3792, allocations: 12.36 kB / 0.5269 GB, free: 9.043 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.3792, allocations: 17.47 kB / 0.5269 GB, free: 9.043 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.3792, allocations: 17.89 kB / 0.5269 GB, free: 9.039 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.727e-05/0.3793, allocations: 127.4 kB / 0.527 GB, free: 8.922 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3793, allocations: 4 kB / 0.527 GB, free: 8.918 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006355/0.3799, allocations: 249 kB / 0.5273 GB, free: 8.855 MB / 410.7 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0007466/0.3806, allocations: 465.6 kB / 0.5277 GB, free: 8.672 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003086/0.3809, allocations: 224 kB / 0.5279 GB, free: 8.621 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3809, allocations: 0 / 0.5279 GB, free: 8.621 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.3811, allocations: 113.2 kB / 0.5281 GB, free: 8.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.3815, allocations: 100.8 kB / 0.5281 GB, free: 8.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.3825, allocations: 0.585 MB / 0.5287 GB, free: 8.145 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.066e-05/0.3825, allocations: 81.44 kB / 0.5288 GB, free: 8.074 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001938/0.3827, allocations: 75.09 kB / 0.5289 GB, free: 8.043 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.627e-05/0.3828, allocations: 39.48 kB / 0.5289 GB, free: 8.027 MB / 410.7 MB Notification: Performance of SimCode: time 1.283e-06/0.3828, allocations: 0 / 0.5289 GB, free: 8.027 MB / 410.7 MB Notification: Performance of Templates: time 0.01213/0.3949, allocations: 10.19 MB / 0.5389 GB, free: 4.383 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.872190774884075]