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.001904/0.001904, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.002288/0.002288, allocations: 207.6 kB / 24.49 MB, free: 3.965 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.461/1.461, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.001565/0.001565, allocations: 43.92 kB / 378.9 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2146, allocations: 53.38 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3567/0.5713, allocations: 134.2 MB / 0.5532 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003638/0.5749, allocations: 3.609 MB / 0.5567 GB, free: 15.87 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.575, allocations: 7.406 kB / 0.5567 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003806/0.5754, allocations: 91.3 kB / 0.5568 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002479/0.5779, allocations: 1.22 MB / 0.558 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008793/0.5788, allocations: 394 kB / 0.5584 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004093/0.5792, allocations: 468.8 kB / 0.5588 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.444e-05/0.5792, allocations: 10.66 kB / 0.5588 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003151/0.5796, allocations: 255.7 kB / 0.5591 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.5797, allocations: 147.2 kB / 0.5592 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.641e-05/0.5798, allocations: 14.12 kB / 0.5592 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002519/0.5823, allocations: 1.851 MB / 0.5611 GB, free: 15.76 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.5824, allocations: 139.2 kB / 0.5612 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.5825, allocations: 147.8 kB / 0.5613 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.5841, allocations: 1.475 MB / 0.5628 GB, free: 15.7 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.5841, allocations: 0 / 0.5628 GB, free: 15.7 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.5841, allocations: 0 / 0.5628 GB, free: 15.7 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.5841, allocations: 0 / 0.5628 GB, free: 15.7 MB / 462.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.002155/0.5862, allocations: 0.7142 MB / 0.5635 GB, free: 15.3 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.5863, allocations: 8.844 kB / 0.5635 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007411/0.587, allocations: 105.3 kB / 0.5636 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004404/0.5874, allocations: 225.5 kB / 0.5638 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.5874, allocations: 22.27 kB / 0.5638 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-05/0.5875, allocations: 30.53 kB / 0.5638 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.5887, allocations: 0.8938 MB / 0.5647 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.5887, allocations: 0 / 0.5647 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.301e-05/0.5888, allocations: 19.53 kB / 0.5647 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.623e-05/0.5888, allocations: 19.58 kB / 0.5648 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.59, allocations: 0.6459 MB / 0.5654 GB, free: 14.7 MB / 462.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.002793/0.5928, allocations: 1.125 MB / 0.5665 GB, free: 14.34 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009249/0.5937, allocations: 355.3 kB / 0.5668 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004333/0.5941, allocations: 169.1 kB / 0.567 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001984/0.5961, allocations: 482 kB / 0.5674 GB, free: 14.24 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.5961, allocations: 42.66 kB / 0.5675 GB, free: 14.2 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 1.884e-06/0.5961, allocations: 3.125 kB / 0.5675 GB, free: 14.2 MB / 462.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.01525/0.6114, allocations: 3.19 MB / 0.5706 GB, free: 13.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.6114, allocations: 87.16 kB / 0.5707 GB, free: 13.32 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.6116, allocations: 187.9 kB / 0.5709 GB, free: 13.21 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.634e-05/0.6117, allocations: 35.02 kB / 0.5709 GB, free: 13.18 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.6118, allocations: 191 kB / 0.5711 GB, free: 13.02 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.6119, allocations: 181.4 kB / 0.5712 GB, free: 12.9 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/0.6122, allocations: 118.4 kB / 0.5714 GB, free: 12.88 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.6123, allocations: 339.9 kB / 0.5717 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007022/0.613, allocations: 265.9 kB / 0.5719 GB, free: 12.56 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008198/0.6138, allocations: 427.3 kB / 0.5723 GB, free: 12.38 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.6153, allocations: 0.6969 MB / 0.573 GB, free: 12.19 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6154, allocations: 0 / 0.573 GB, free: 12.19 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001845/0.6172, allocations: 0.783 MB / 0.5738 GB, free: 12.11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.6172, allocations: 7.469 kB / 0.5738 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.6172, allocations: 6.531 kB / 0.5738 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000201/0.6174, allocations: 55.83 kB / 0.5739 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.6186, allocations: 182.5 kB / 0.574 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007463/0.6194, allocations: 1.076 MB / 0.5751 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000818/0.6202, allocations: 39.39 kB / 0.5751 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.442e-05/0.6203, allocations: 39.39 kB / 0.5752 GB, free: 11.06 MB / 462.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.000236/0.6205, allocations: 185.6 kB / 0.5753 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.6207, allocations: 25.73 kB / 0.5754 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002107/0.6228, allocations: 0.7863 MB / 0.5761 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.6228, allocations: 6.562 kB / 0.5761 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.6228, allocations: 0 / 0.5761 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.346e-05/0.6228, allocations: 22.47 kB / 0.5762 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.276e-05/0.6229, allocations: 10.22 kB / 0.5762 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008931/0.6238, allocations: 44.91 kB / 0.5762 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.6238, allocations: 38.03 kB / 0.5762 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002891/0.6267, allocations: 0.799 MB / 0.577 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002437/0.6292, allocations: 1.038 MB / 0.578 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006966/0.6299, allocations: 233.8 kB / 0.5783 GB, free: 10.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.638e-05/0.63, allocations: 128.5 kB / 0.5784 GB, free: 10.18 MB / 462.1 MB Notification: Performance of Backend: time 3.61e-07/0.63, allocations: 6.281 kB / 0.5784 GB, free: 10.17 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003905/0.6339, allocations: 1.283 MB / 0.5796 GB, free: 9.941 MB / 462.1 MB Notification: Performance of SimCode: time 0.001444/0.6353, allocations: 1.254 MB / 0.5809 GB, free: 9.012 MB / 462.1 MB Notification: Performance of Templates: time 0.02656/0.6619, allocations: 19.82 MB / 0.6002 GB, free: 14.96 MB / 478.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 -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.815471358997456]